Skip to content
/ starter Public
forked from lingxyz/templates

🐣 企业级框架模板生成器。支持Vue、React、Flutter、Nest.js、SpringBoot等

License

Notifications You must be signed in to change notification settings

als24/starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter

一款企业级通用应用初始化脚手架。支持生成Vue,Nuxt,Egg,Springboot,beego等项目定制模板,灵感来源于 Vue-cli 和 Fis3。

Quick Start

直接克隆

# 克隆指定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]

通过cli工具生成模板

#  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]

Features

  • 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

Templates

About

🐣 企业级框架模板生成器。支持Vue、React、Flutter、Nest.js、SpringBoot等

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.1%
  • Shell 42.9%