0.0.7 • Published 4 months ago
@xkfe/create-project v0.0.7
使用
# 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
建议添加上标记名(@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 下文件