From 3fd14d617529f751202690d9a312142cbbb25ef3 Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:07:18 +0200 Subject: [PATCH 01/14] chore: delete babel.config.js --- babel.config.js | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 babel.config.js diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index 162a3ea..0000000 --- a/babel.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - presets: ["@vue/cli-plugin-babel/preset"], -}; From 9ce87c335f75899c3f532f62751a72bb234cc175 Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:07:28 +0200 Subject: [PATCH 02/14] build(deps): remove dependencies --- package.json | 40 +++------------------------------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index adce587..8933c78 100644 --- a/package.json +++ b/package.json @@ -11,42 +11,8 @@ "version": "yarn build", "postversion": "git push --follow-tags" }, - "dependencies": { - "core-js": "^3.6.4", - "vue": "^2.6.11" - }, - "devDependencies": { - "@vue/cli-plugin-babel": "~4.5.6", - "@vue/cli-plugin-eslint": "~4.5.6", - "@vue/cli-service": "~4.5.6", - "@vue/eslint-config-prettier": "^6.0.0", - "babel-eslint": "^10.1.0", - "eslint": "^6.7.2", - "eslint-plugin-prettier": "^3.1.4", - "eslint-plugin-vue": "^6.2.2", - "prettier": "^2.1.1", - "vue-template-compiler": "^2.6.11" - }, + "dependencies": {}, + "devDependencies": {}, "author": "MichaelCurrin", - "license": "MIT", - "eslintConfig": { - "root": true, - "env": { - "node": true - }, - "extends": [ - "plugin:vue/essential", - "eslint:recommended", - "@vue/prettier" - ], - "parserOptions": { - "parser": "babel-eslint" - }, - "rules": {} - }, - "browserslist": [ - "> 1%", - "last 2 versions", - "not dead" - ] + "license": "MIT" } From 3bded2960d549267364d0a60988f07501b02cfbb Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:08:22 +0200 Subject: [PATCH 03/14] docs: update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 549a53a..0c9c740 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # Vue Quickstart -> Starter template for a Vue 2 site - including docs and CI deploy to GH Pages +> Starter template for a Vue 3 site - including docs and CI deploy to GH Pages - [![GH Pages Deploy](https://github.com/MichaelCurrin/vue-quickstart/workflows/GH%20Pages%20Deploy/badge.svg)](https://github.com/MichaelCurrin/vue-quickstart/actions) [![GitHub tag](https://img.shields.io/github/tag/MichaelCurrin/vue-quickstart)](https://github.com/MichaelCurrin/vue-js-quickstart/tags/) [![License](https://img.shields.io/badge/License-MIT-blue)](#license) @@ -46,7 +45,7 @@ After you've looked at the demo screenshot and site, you are welcome to create y ## About -### What is Vue? +### What is Vue? > Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. @@ -102,6 +101,7 @@ That based on what you get in the Vue Router setup. - Vue-based projects: - [Vue TypeScript Quickstart](https://github.com/MichaelCurrin/vue-typescript-quickstart) - like this project but with TypeScript added. - [Vue Router Quickstart](https://github.com/MichaelCurrin/vue-router-quickstart) - like this project but with Vue Router added for a multi-page site. + - [Vue Vuex Quickstart](https://github.com/MichaelCurrin/vue-vuex-quickstart) - like this project but with Vuex added. - [VuePress Quickstart](https://github.com/MichaelCurrin/vuepress-quickstart) - using VuePress, a static site generator built on a Vue. - [Nuxt Default Quickstart](https://github.com/MichaelCurrin/nuxt-default-quickstart) - using Nuxt, a mix between a SPA and a static site generator that is built on Vue. - [Vue Frontend Quickstart](https://github.com/MichaelCurrin/vue-frontend-quickstart) - a simple site that uses Vue on the frontend without Node or build step. From b27133c16f0c53da6865f4b3f8cd55d75e2a5e99 Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:09:01 +0200 Subject: [PATCH 04/14] docs: update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0c9c740..1344435 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,8 @@ See [Vue](https://github.com/MichaelCurrin/learn-to-code/blob/master/en/topics/s This project was created using the Vue CLI: ```sh +$ vue create my-project +$ # OR if not installed. $ npx @vue/cli create my-project ``` From 22582f24dcdba7318dda3944bc6026bc3b5ab247 Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:10:20 +0200 Subject: [PATCH 05/14] chore: create .eslintrc.js --- .eslintrc.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..6858315 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,14 @@ +module.exports = { + root: true, + env: { + node: true, + }, + extends: ["plugin:vue/vue3-essential", "eslint:recommended", "@vue/prettier"], + parserOptions: { + ecmaVersion: 2020, + }, + rules: { + "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", + "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", + }, +}; From 5fb208c801eb7db3047f7a31b07ff50a44c7fbe7 Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:10:23 +0200 Subject: [PATCH 06/14] chore: create .browserslistrc --- .browserslistrc | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .browserslistrc diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 0000000..214388f --- /dev/null +++ b/.browserslistrc @@ -0,0 +1,3 @@ +> 1% +last 2 versions +not dead From 1fcd2da62f487e6d8f6d2e22b890242cde50adec Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:12:26 +0200 Subject: [PATCH 07/14] feat: remove Babel plugin --- src/components/HelloWorld.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index 411eed5..fdc2b64 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -40,14 +40,6 @@

Installed CLI Plugins