segi-cli
v2.0.4
Published
下载项目模板的脚手架
Downloads
31
Readme
a cli to create any project template that you want
一个创建任何你需要的项目模板脚手架
this cli includes .html project base on webpack, h5 project template base on vue, web project template base on vue and mini program of wechat. In addition, some of them support typescript.
这个脚手架包含了基于webpack搭建的.html文件的脚手架,一个基于vue的h5项目模板,基于vue的一个web项目模板,以及微信小程序的项目模板。除此之外,部分项目支持typescript.
installation 安装
npm i segi-cli -g
or 或者
yarn global add segi-cli
usage 使用说明
segi-cli create [projectName]
segi-cli create projectName
segi-cli create + the name of the project (segi-cli create + 项目名称)
then you can choose which template that you need. (然后你可以选择你需要的模板)
template type 模板类型
these are types of project template (这是项目模板的类型)
- html: .html file project (.html的文件项目)
- web: vue3.0 web project template (vue3.0的pc端项目模板)
- mobile: h5 project template (h5项目模板)
- mobileTs: h5 project template which uses typescript (使用typescript的h5项目模板)
- webTs: vue3.0 web project template which uses typescript (使用typescriptd和vue3.0的pc端项目模板)
- miniProgram: mini-program for weChat project template which uses typescript (使用typescript的微信小程序项目模板)
Because of the use of this cli that is used by our own company, so we are sorry about that most of these project template need right to access except .html file project. 因为这个脚手架用来给自己公司使用,所以我们很抱歉大部分的项目模板需要权限去使用,除了.html文件项目
segi-cli init
- you can just choose what you want (你可以选择你想要的)
- this command can also create any project as you want which requires no jurisdiction. usage like the image below 这个命令也可以如你所愿创建任何项目模板,如下图所示
epilogue
enjoy~ Thank you~