Update 'README.md'

This commit is contained in:
Jack Hadrill 2020-10-07 20:49:16 +00:00
parent fbd532bb72
commit b14d7361f3

View File

@ -8,17 +8,18 @@ A cheatsheet for getting started with Vue.js
## Commands ## Commands
- Install Vue CLI
### Install Vue CLI
```bash ```bash
$ npm install -g @vue/cli $ npm install -g @vue/cli
``` ```
- Upgrade Vue CLI ### Upgrade Vue CLI
```bash ```bash
$ npm install -g @vue/cli --upgrade $ npm install -g @vue/cli --upgrade
``` ```
- Setup Vue project with "Router" and "Sass loader" ### Setup Vue project with "Router" and "Sass loader"
```bash ```bash
$ vue create my-app $ vue create my-app
$ cd my-app $ cd my-app
@ -26,7 +27,7 @@ $ vue add router
$ npm install sass-loader node-sass $ npm install sass-loader node-sass
``` ```
- Run Vue project ### Run Vue project
```bash ```bash
$ npm run serve $ npm run serve
``` ```