Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.61 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.61 KB

@xkfe/create-project

✨开箱即用的前端各种项目快速开发模板,包含后台、官网、小程序、H5、可视化大屏等,提高效率, 避免重复集成项目!

create-project

使用

# 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 下文件

模板截图