From e0f704cfa5369037dc84a02e61ab9857f897995e Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Tue, 20 Dec 2022 00:18:27 -0500 Subject: [PATCH] [O] Use tg-blog component --- src/views/Life.vue | 65 ++++++---------------------------------------- tsconfig.json | 3 ++- vite.config.ts | 3 ++- 3 files changed, 12 insertions(+), 59 deletions(-) diff --git a/src/views/Life.vue b/src/views/Life.vue index 73de288..5d5e825 100644 --- a/src/views/Life.vue +++ b/src/views/Life.vue @@ -1,5 +1,5 @@ @@ -80,7 +31,7 @@ export default class Blog extends Vue #Life margin: 20px auto - font-size: 0.8em + //font-size: 0.92em width: min(450px, 80vw) #header diff --git a/tsconfig.json b/tsconfig.json index 2588098..1162ac1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -25,7 +25,8 @@ ], "emitDecoratorMetadata": true, - "allowJs": true + "allowJs": true, + "resolveJsonModule": true }, "include": [ "src/**/*.ts", diff --git a/vite.config.ts b/vite.config.ts index 4425179..e757589 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -32,6 +32,7 @@ export default defineConfig({ alias: { ...tsconfigPathAliases, vue: "vue/dist/vue.esm-bundler.js" - } + }, + dedupe: ['vue'], } });