create-vite-uniapp
v0.0.6
Published
A fast CLI to bootstrap production-ready Uniapp projects.
Maintainers
Readme
create-vite-uniapp
一个基于 Vite 的极速 uni-app 项目脚手架工具。旨在提供比官方模板更现代、更轻量、更易扩展的开发体验。
🛠️ 快速开始
# 使用 npm
npm create vite-uniapp@latest
# 使用 pnpm
pnpm create vite-uniapp📖 使用指南
直接运行命令并按照提示操作,或直接指定选项:
# 交互式模式
npm create vite-uniapp@latest
# 指定项目名称
npm create vite-uniapp@latest my-app -i -f -v -h📁 项目结构
my-app/
├── src/
│ ├── App.vue # 根组件
│ ├── main.ts # 入口文件
│ └── pages/ # 页面目录
│ └── index/
│ └── index.vue
├── index.html # HTML 模板
├── vite.config.ts # Vite 配置
├── tsconfig.json # TypeScript 配置
└── package.json # 项目依赖🤝 贡献
欢迎贡献代码!请随时提交 Pull Request。
- Fork 本仓库
- 创建您的特性分支 (
git checkout -b feature/AmazingFeature) - 提交您的更改 (
git commit -m '添加一些 AmazingFeature') - 推送到分支 (
git push origin feature/AmazingFeature) - 开启一个 Pull Request
📝 许可证
本项目采用 MIT 许可证。
