Skip to content

(NOTE: this project is replaced by the official http://vuejs.org/2015/12/28/vue-cli/) ---- a highly opinionated CLI utility to scaffold new Vue.js components, mixins, etc

Notifications You must be signed in to change notification settings

agonbina/vue-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: this is still WIP so expect the behavior of specific commands to change

Install

npm install -g vue-cli

##vue component

Create a new component

vue component create [componentName|String]

Ex:

vue component create ui-notifications

Extend a component

vue component create [componentName|String] --extend [componentToExtend|String]

Ex:

vue component create ui-alerts --extend ui-notifications
options
  • --components or -c A comma separated list of private components for this component. Ex: --components ui-notifications,ui-names
  • --mixins or -m A comma separated list of mixins this component needs to use. Ex: --mixins firebase-mixin,sortable-mixin

vue mixin

Create a new mixin(TBD)

vue mixin create [mixinName|String]

vue release

Release a new version of a component, mixin etc. Using semver, the current version will be upgraded based on the increment you specify. Note: You must have git-extras installed for this command to work.

vue release [patch|[minor, major]]

vue upgrade

Check for the latest version of a dependency and choose whether you want to upgrade or not.

vue upgrade [dependencyName|String]

dependencyName must already be in your package.json

Global config

You can create a global or local configuration file for your options in your home, root or current directory, ex ~/.vuerc:

{
    "author": "Your Name",
    "email": "[email protected]",
    "git": {
        "username": "username",
        "host": "gitlab",
        "organization": "Github"
    }
}

About

(NOTE: this project is replaced by the official http://vuejs.org/2015/12/28/vue-cli/) ---- a highly opinionated CLI utility to scaffold new Vue.js components, mixins, etc

Resources

Stars

Watchers

Forks

Packages

No packages published