✨开箱即用的前端各种项目快速开发模板,包含后台、官网、小程序、H5、可视化大屏等,提高效率, 避免重复集成项目!
# npm | yarn | pnpm
npx @xkfe/create-project@latest
pnpx @xkfe/create-project@latest
# 或
pnpm add @xkfe/create-project@latest -g
create-project | create-template | create-xkfe-project
pnpx @xkfe/create-project@latest <项目名称> -t <模板名称>
pnpx @xkfe/create-project@latest mall-wx -t uniapp
Tip
建议添加上标记名(@latest),否则 npm 可能会解析到缓存的过时软件包版本。
Usage: @xkfe/create-project [options]
Options:
- -V, --version output the version number
- -t, --template <template> Specify the frontend template
- -s, --source <source> Specify the source to pull template from (cli templates
github,gitee) - -h, --help display help for command
github: create-project/templates / gitee: create-project/templates 下文件