一款企业级通用应用初始化脚手架。支持生成Vue,Nuxt,Egg,Springboot,beego等项目定制模板,灵感来源于 Vue-cli 和 Fis3。
# 克隆指定demo,安装依赖后可直接起服务
git clone -b [name]-example https://github.com/zhanglingme/starter.git [local folder name]
# 克隆指定模板,需要执行st编译后才可起服务
git clone -b [name]-template https://github.com/zhanglingme/starter.git [local folder name]
# install starter tools
npm i st -g
# Create Initial Project, 根据提示进行相应的交互输入即可
st init [target template]
# Create Initial Project with UI on `localhost:8080`
st ui
# 编译本地模板
st build [target template path] -d [dest path]
-
st init
由框架模板初始化项目 -
st ui
UI可视化 -
st dev
无配置开发模式 -
st build
打包编译 -
st deploy
快速发布 - 插件支持
-
st -V
output the version number -
st -h
display help for command
Command | Comment |
---|---|
st init [template type] [target folder] | 初始化项目 |
st server (—port [port]) | 可视化服务 |
st list | 查看模板列表 |
st -v | 查看版本 |
st -h | 查看命令行列表 |
todo..
param | type | comment |
---|---|---|
xx | Array | xx |
- vue3-example
web
- vue-template
web
- js-plugins-template
plugins
- vue-components-template
components
- nuxt-template
web
- angular-template
web
- mpvue-template
wechat-miniapp
- wepy-template
wechat-miniapp
- flutter-template
native
- cordova-template
hybird
- node-template
node
- egg-template
node
- koa-template
node
- nest-example
node
- springboot-template
java
- java-package-template
java
- beego-template
go
- ci-template
php