A simple CLI for scaffolding BalmJS projects.
First install the balm-core
globally.
yarn global add balm-core
# OR
npm install -g balm-core
Then install the balm-cli
globally.
yarn global add balm-cli
# OR
npm install -g balm-cli
# Verify
balm -V
# Output:
# balm-cli: 2.0.0
# balm-core: 3.0.0
# See all available official templates
balm list
balm init <template-name> <project-name>
Example:
# Official template
balm init vue my-project
# Custom template
balm init username/repo my-project
- Default
- simple - A simple project
- Vue.js
- vue - A Vue.js project
- vue-expert - A Vue.js project with router (Recommended)
- vue-master - A Vue.js project with router & Vuex
- vue-ssr - A server-rendered Vue.js project (Experimental)
- vue-ssr-without-vuex - A server-rendered Vue.js project without Vuex (Experimental)
- vue-wechat-mp - A Vue.js project for WeChat Mini Program
- React
- react - A React project
- react-expert - A React project with router
- react-master - A React project with router & MobX
- Angular
- ng - An Angular project
- Others