From 71426b5734adb7323480164377fd2200be9ad299 Mon Sep 17 00:00:00 2001 From: taolin Date: Fri, 22 Jul 2022 16:08:29 +0800 Subject: [PATCH] fix: px --- package.json | 3 +- src/App.vue | 2 - src/components/HelloWorld.vue | 52 -- src/router/index.ts | 1 + src/views/Home.vue | 6 +- yarn.lock | 1490 +++++++++++++-------------------- 6 files changed, 565 insertions(+), 989 deletions(-) delete mode 100644 src/components/HelloWorld.vue diff --git a/package.json b/package.json index 04149e0..d00d0a4 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "lodash": "^4.17.21", "normalize.css": "^8.0.1", "nprogress": "^0.2.0", + "quasar": "^2.7.1", "vue": "^3.2.25", "vue-router": "^4.0.13", "vuex": "^4.0.2" @@ -25,7 +26,7 @@ "sass": "^1.51.0", "sass-loader": "^12.6.0", "typescript": "^4.5.4", - "vite": "^2.9.5", + "vite": "^3.0.2", "vue-tsc": "^0.34.7" } } diff --git a/src/App.vue b/src/App.vue index ab7f1ff..4765f9f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,8 +12,6 @@ export default defineComponent({}); font-family: Avenir, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - text-align: center; color: #2c3e50; - margin-top: 60px; } diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue deleted file mode 100644 index 38dae70..0000000 --- a/src/components/HelloWorld.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/src/router/index.ts b/src/router/index.ts index c0c3948..e130708 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -6,6 +6,7 @@ import "nprogress/nprogress.css"; // progress bar style NProgress.configure({ easing: "ease", speed: 500, showSpinner: false }); NProgress.inc(0.2); // End + import Home from "../views/Home.vue"; const routes: Array = [ { diff --git a/src/views/Home.vue b/src/views/Home.vue index 79fe5eb..74355da 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,9 +1,5 @@