I’m a clicker. E-i-e-i-o

Banlg — angular-CLI it does this — so maybe, maybe, maybe it looks familiar, it looks familiar,

According to the command line to create (currently only one command, subsequent can add.. Add.. Add..)

  • -1 Component folder
  • -2 Component files
  • -3 Import components as required
  • -4 modify router configuration (American name: free hands) vue-cli currently no —– everyone useful get github go star == very grateful

Function:

  • 1. Used to standardize the team — components, routing, routing paths, naming
  • 2. Save some (slightly) effort by not modifying the Router configuration file in the create Files and folders section
  • 3. I don’t know what to use —-

Put the link: www.npmjs.com/package/ban…

The following is a document — — — — — — — — — — — — — — — — — — — — — — — — — – I’m a line — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — –

banlg

banlg com ? Parentcom Update router configuration file 2 according to command 1. Create the corresponding component file structureCopy the code

Installation

$ npm install banlg -g
$ yarn global add banlg
Copy the code

API

banlg com ? parentcom

  • com <String>: Component name to be created
  • parentcom <String>: Parent component name (optional)
  • Naming rule: Hump => The generated route path is connected with ‘-‘