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');