Uninstall old version VueJs
- npm uninstal -g vue-cli
Install vue/cli 3
- npm install -g @vue/cli
Create project at VueJs, where 'name' is project name, without ''
- vue create 'name'
Install router plugin
- npm install vue-router
Install Resource to consume Rest API
- npm install vue-resource
Run the project
- npm run serve
Built project to production
- npm run build
View chanto of the code
- npm run lint // verificar mudanças no código
Add new plugins using vue/cli 3, in this case 'vuetify'
- vue add vuetify
Install global service for prototype component
- npm install -g @vue/cli-service-global
Run once component
- vue serve 'component.vue'
Vue GUI (management)
- vue ui