cli stands for Commnad Line Interface and is a tool that helps you prepare for development with vue.js using the command line. Development is done in units called projects. When you create a project using vue-cli, you can also install the functions used in the project. Webpack is also installed so you can start developing as soon as you create a project. https://reffect.co.jp/vue
Is it a tool for developing with vue?
$ npm install -g @vue/cli
$ vue create vue-application
After executing this command, such a selection screen is displayed.
Vue CLI v4.4.6
? Please pick a preset: Manually select features
? Check the features needed for your project: (Press <space> to select, <a> to t
oggle all, <i> to invert selection)
◉ Babel
◯ TypeScript
❯◯ Progressive Web App (PWA) Support
◯ Router
◯ Vuex
◯ CSS Pre-processors
◉ Linter / Formatter
◯ Unit Testing
◯ E2E Testing
After selecting, open localhost and it's ok. Like rails, files are created in advance.
It seems to set vueconfig.js (,,, I don't know the details)
Relationship between Vue-cli and Vuetify? After downloading vue-cli, download vuetify. For vuetify, this article is easy to understand. https://techblog.kayac.com/2018/12/12/080000
Recommended Posts