It can generate a new project quickly by template.
npm i const-cli -g
const init PROJECJ_NAME [type]
type:
h5
: html5(default)
vue2
: vue2todo
vue3
: vue3todo
vue3-h5
: vue3-h5todo
nest
: nest.jstodo
mp-wx
: 微信小程序addon
: Chrome Plugintodo
laravel
: Laravel- ...and more will be supported!
h5
: https://bitbucket.org/cnfe/const-h5.gith5-vue2
:h5-vue3
: https://bitbucket.org/cnfe/const-h5-vue3.gitvue2
: https://bitbucket.org/cnfe/const-vue2.gitvue3
:nest
: https://bitbucket.org/cnfe/const-nest.gitmp-wx
: https://bitbucket.org/cnfe/const-mp-wx.gitaddon
: https://bitbucket.org/cnfe/const-addon.gitlaravel
: https://bitbucket.org/cnfe/const-laravel.git
You can clone
and run this repository by:
git clone https://github.com/Patrick-Jun/const-cli.git
npm install
npm link
You can clone
template repository from bitbucket.org
.