|
@@ -9,6 +9,9 @@ $ npm install
|
|
|
# serve with hot reload at localhost:3000
|
|
|
$ npm run dev
|
|
|
|
|
|
+# lint your changes
|
|
|
+$ npm run lint
|
|
|
+
|
|
|
# build for production and launch server
|
|
|
$ npm run build
|
|
|
$ npm run start
|
|
@@ -19,6 +22,19 @@ $ npm run generate
|
|
|
|
|
|
For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
|
|
|
|
|
|
+## Recommended VSCode Setup
|
|
|
+ - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) `ext install dbaeumer.vscode-eslint`
|
|
|
+ - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) `ext install esbenp.prettier-vscode`
|
|
|
+ - [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)
|
|
|
+
|
|
|
+>`Ctrl(Cmd)` + `Shift` + `P` > Open Settings (JSON)
|
|
|
+```
|
|
|
+"[vue]": {
|
|
|
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
+},
|
|
|
+"editor.formatOnSave": true,
|
|
|
+```
|
|
|
+
|
|
|
## Special Directories
|
|
|
|
|
|
You can create the following extra directories, some of which have special behaviors. Only `pages` is required; you can delete them if you don't want to use their functionality.
|