From 21bbbfd8964ac0c602521068c20939483725fa7e Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Sun, 17 Oct 2021 17:16:53 +0200 Subject: [PATCH 1/7] docs: update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7f50b56..fbaf2b7 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ This project was generated using the GUI invoked by this command: $ npx @vue/cli ui ``` -The _router_ option was enabled there to set up the Home and About pages. +The _router_ option was enabled there to set up the Home and About pages - _Project plugins_ then _Add vue-router_. -You can also use this to add Vue ROuter to an existing project. +You can also use this to add Vue Router to an existing project. ```sh $ vue add router From 895b2359dac7b18070cec10b4ad6b1e2d5c121ee Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Sun, 17 Oct 2021 17:19:13 +0200 Subject: [PATCH 2/7] build: update package.json --- package.json | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 81281bd..9070de3 100644 --- a/package.json +++ b/package.json @@ -13,21 +13,18 @@ }, "dependencies": { "core-js": "^3.6.5", - "vue": "^2.6.11", - "vue-router": "^3.4.7" + "vue": "^3.0.0", + "vue-router": "^4.0.0-0" }, "devDependencies": { - "@vue/cli-plugin-babel": "^4.5.8", - "@vue/cli-plugin-eslint": "^4.5.8", - "@vue/cli-plugin-router": "^4.5.8", - "@vue/cli-service": "^4.5.8", - "@vue/eslint-config-prettier": "^6.0.0", + "@vue/cli-plugin-babel": "~4.5.0", + "@vue/cli-plugin-eslint": "~4.5.0", + "@vue/cli-plugin-router": "~4.5.0", + "@vue/cli-service": "~4.5.0", + "@vue/compiler-sfc": "^3.0.0", "babel-eslint": "^10.1.0", "eslint": "^6.7.2", - "eslint-plugin-prettier": "^3.1.3", - "eslint-plugin-vue": "^6.2.2", - "prettier": "^1.19.1", - "vue-template-compiler": "^2.6.11" + "eslint-plugin-vue": "^7.0.0" }, "eslintConfig": { "root": true, @@ -35,9 +32,8 @@ "node": true }, "extends": [ - "plugin:vue/essential", - "eslint:recommended", - "@vue/prettier" + "plugin:vue/vue3-essential", + "eslint:recommended" ], "parserOptions": { "parser": "babel-eslint" From 2bf1407e2b20e24506e57110b8d797f19060f4ea Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Sun, 17 Oct 2021 17:19:24 +0200 Subject: [PATCH 3/7] docs: update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index fbaf2b7..e2a2c86 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,11 @@ View the output in the unversioned `dist` directory. $ yarn lint ``` +Add Prettier support: + +- Install `prettier` +- Add `@vue/prettier` to `eslintConfig` `extends` in `package.json`. + ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). From c556797b8a52b9fd4c8e109a0459d06334eff940 Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Sun, 17 Oct 2021 17:21:49 +0200 Subject: [PATCH 4/7] update App.vue --- src/App.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 2ccc72f..6a65bcc 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,9 @@