1.0.0 • Published 2 years ago

beet-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Beet CLI NPM version

A simple CLI for scaffolding BeetJS projects.

Requirements

  1. Node.js >= 10.13.0, npm version 5.2.0+
  2. Git
  3. BeetJS core >= 3.x

First install the beet-core globally.

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

Installation

Then install the beet-cli globally.

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

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

Usage

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

Example:

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

Official Templates

  • Default
  • 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
  • Angular
    • ng - An Angular project
  • Others
    • pwa - A Progressive Web Apps project
    • electron - An Electron app boilerplate based on the BeetJS
    • legacy - A jQuery project for older browsers