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'], } });