The Varie CLI helps you create repetitive tasks and templates to help rapidly develop your applications.
To install the Varie CLI you should install it globally $ npm install -g varie-cli
.
Creates a new project in the current folder with the given name.
Creates a Global Vue component in the app/components
directory.
Creates a Global Vue directive in the app/directives
directory.
Creates a Global Vue filter in the app/filters
directory.
Creates a Global Vue mixin in the app/mixins
directory.
Creates a model in the app/models
directory
Creates a new provider in the app/providers
directory.
Creates a Service in the app/services
directory.
Creates a Vuex store / submodule in the store directory based on the path provided.
Running $ varie make:store user
creates a store in :
app/stores/user
Running $ varie make:store user/alerts
creates a store in :
app/stores/user/modules/alerts
Creates a new request middleware in the app/middleware
directory.
Creates a new route middleware in the routes/middleware
directory.
Creates a rule in the app/rules
directory.
Creates a validator in the app/validators
directory.
Publishes assets from Varie plugins