Skip to content

balmjs/balm-cli

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Balm CLI NPM version

A simple CLI for scaffolding BalmJS projects.

Requirements

  1. Node.js >= 12.20, npm version 5.2.0+
  2. Git
  3. BalmJS balm-core >= 3

First install the balm-core globally.

yarn global add balm-core
# OR
npm install -g balm-core

Installation

Then install the balm-cli globally.

yarn global add balm-cli
# OR
npm install -g balm-cli

# Verify
balm -V
# Output:
# balm-cli: 3.0.0
# balm-core: 3.0.0 (Global)

Usage

# See all available official templates
balm list
balm init <template-name> <project-name>

Example:

# Official template
balm init vue-ui my-project
# Custom template
balm init username/repo my-project

Official Templates

  • Default
  • Vue.js
    • vue - A Vue.js project
    • vue-expert - A Vue.js project with router
    • vue-master - A Vue.js project with router & store
    • vue-ui - A Vue.js project with router & BalmUI (Recommended)
    • 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 - 使用 Vue 同构微信小程序和 Web
  • React
  • Angular
    • ng - An Angular project
  • Desktop apps
    • electron - An Electron project
    • tauri - A Tauri project (Coming soon)
  • Others
    • pwa - Progressive Web Apps project
    • legacy - A jQuery project for older browsers
    • svelte - A Svelte project
    • solid - A Solid project

About

♠️ BalmJS scaffolding tool for modern webapps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published