1.0.8 • Published 9 months ago
@duxweb/dvha-template v1.0.8
@duxweb/dvha-template
快速创建 Dux Vue 项目的脚手架工具。
使用方法
使用 bunx (推荐)
bunx @duxweb/dvha-template init使用 npx
npx @duxweb/dvha-template init使用 yarn
yarn dlx @duxweb/dvha-template init使用 pnpm
pnpm dlx @duxweb/dvha-template init指定项目名称
bunx @duxweb/dvha-template init my-awesome-project
npx @duxweb/dvha-template init my-awesome-project全局安装后使用
# 安装到全局
npm install -g @duxweb/dvha-template
# 然后可以直接使用
duxweb-dvha init my-project可用模板
- Vue 3 + Vite + UnoCSS - 基础的 Vue 3 项目模板
- Vue 3 + Element Plus - 使用 Element Plus 的 Vue 3 项目
- Vue 3 + Naive UI - 使用 Naive UI 的 Vue 3 项目
特性
- 🚀 快速创建项目
- 🎨 多种 UI 框架模板选择
- 📦 自动配置开发环境
- 🔧 开箱即用的开发工具
- 🌐 中英文双语界面
- 💻 支持 npm、yarn、pnpm、bun
开发
# 安装依赖
bun install
# 本地测试
bun run bin/index.js init test-project
# 或者使用 npm
npm install
node bin/index.js init test-project发布
# 使用发布脚本
npm run push
# 或者手动发布
npm publish --access=public许可证
MIT