npm install -g vue-cli
##vue component
vue component create [componentName|String]
Ex:
vue component create ui-notifications
vue component create [componentName|String] --extend [componentToExtend|String]
Ex:
vue component create ui-alerts --extend ui-notifications
- --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 [mixinName|String]
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]]
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
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"
}
}