From 90583317e361a09a03f803cbd17d4f5b06ca2765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 15 Nov 2024 13:47:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E4=B8=AD=E7=9A=84=E5=8F=AF=E9=80=89=E9=93=BE?= =?UTF-8?q?=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF=EF=BC=9B=E5=9C=A8=20Vite?= =?UTF-8?q?=20=E9=85=8D=E7=BD=AE=E4=B8=AD=E5=90=AF=E7=94=A8=20sourcemap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- vite.config.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 5a8ccf2..e91a307 100644 --- a/src/App.vue +++ b/src/App.vue @@ -65,7 +65,7 @@ onMounted(() => { help="别人都叫你什么?" />
输入的姓名必须包含 '测试' 字符串。 diff --git a/vite.config.ts b/vite.config.ts index bbcf80c..fa7403e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,4 +4,7 @@ import vue from '@vitejs/plugin-vue' // https://vite.dev/config/ export default defineConfig({ plugins: [vue()], + build: { + sourcemap: true + } })