本项目为 StarRailAssistant 的官方网站提供支持,基于 VuePress 框架,使用 VuePress Theme Hope 主题。
相关链接
确保你的机器上安装了 Node.js (>=18.x),然后运行:
npm install # 或者使用 pnpm install / yarn install如果你看到了类似
npm error While resolving: [email protected]的错误,可以尝试用npm install @vuepress/[email protected] --save-dev解决。
npm run docs:dev # 或 pnpm run docs:dev / yarn docs:dev你会在控制台看到如下内容:
> [email protected] docs:dev
> vuepress-vite dev src
✔ Initializing and preparing data - done in 1.09s
vite v6.3.5 dev server running at:
➜ Local: http://localhost:8080/
➜ Network: http://172.23.224.1:8080/
➜ Network: http://192.168.2.6:8080/你可以Ctrl+鼠标左键点击提示中的地址来预览文档。
你也可以直接访问 http://localhost:8080/ 来预览文档。
npm run docs:build # 或 pnpm run docs:build / yarn docs:build静态文件将生成到 .vitepress/dist/ 目录。
npm run docs:preview # 或 pnpm run docs:preview / yarn docs:preview欢迎贡献你的改进!
- Fork 本仓库
- 创建分支
git checkout -b feature/my-new-feature
- 提交修改
git commit -m "feat: 添加新功能" - 推送分支
git push origin feature/my-new-feature
- 创建 Pull Request
本项目采用 MIT License 许可。