本项目为 StarRailAssistant 的官方网站提供支持,基于 Starlight 框架。
相关链接
确保你的机器上安装了 Node.js (>=18.x),然后运行:
npm install # 或者使用 pnpm install / yarn install如果你看到了类似
npm error While resolving: vuepress-theme-hope@2.0.0-rc.92的错误,可以尝试用npm install @vuepress/plugin-docsearch@2.0.0-rc.108 --save-dev解决。
npm run dev # 或 pnpm run dev / yarn dev访问 http://localhost:4321 即可预览文档。
npm run build # 或 pnpm run build / yarn build静态文件将生成到 ./dist/ 目录。
npm run preview # 或 pnpm run preview / yarn preview欢迎贡献你的改进!
- Fork 本仓库
- 创建分支
git checkout -b feature/my-new-feature
- 提交修改
git commit -m "feat: 添加新功能" - 推送分支
git push origin feature/my-new-feature
- 创建 Pull Request
本项目采用 MIT License 许可。