From 2479c80cd1b7846f188f64a5eaed9398b78d26bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Wed, 4 Dec 2024 12:01:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=92=8C=E8=84=9A=E6=9C=AC=E4=BB=A5=E6=94=B9=E5=96=84=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=B8=83=E5=B1=80=E5=92=8C=E5=93=8D=E5=BA=94=E5=BC=8F?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 35 +++++++++++++++++++++++++++++++++-- src/main.ts | 5 +++++ 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c76cb4e..aeec4ff 100644 --- a/index.html +++ b/index.html @@ -9,12 +9,43 @@ /> vue-ts-example - + + +
-
Loading...
+
Loading...
diff --git a/src/main.ts b/src/main.ts index b29512c..155b3ac 100644 --- a/src/main.ts +++ b/src/main.ts @@ -53,6 +53,11 @@ async function init() { .use(PrimeVue, { locale: zhCN['zh-CN'], // usePrimeVue().config.locale theme: { preset: Aura }, + options: { + prefix: 'p', + darkModeSelector: 'system', + cssLayer: false, + }, }); app.config.globalProperties.$__DEV__ = $__DEV__; app.mount('#app');