feat: 添加 PrimeVue 组件演示页面
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 2m39s
CI/CD Pipeline / build-and-deploy (push) Successful in 2m51s

This commit is contained in:
严浩
2025-10-28 23:48:14 +08:00
parent 33e8a4a5d6
commit c490cb1c8e
15 changed files with 136 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ import Aura from '@primeuix/themes/aura';
import zhCN from 'primelocale/zh-CN.json';
import PrimeVue from 'primevue/config';
import StyleClass from 'primevue/styleclass';
import ToastService from 'primevue/toastservice';
export function install({ app }: { app: import('vue').App<Element> }) {
app.directive('styleclass', StyleClass);
@@ -25,4 +26,5 @@ export function install({ app }: { app: import('vue').App<Element> }) {
preset: Aura,
},
});
app.use(ToastService);
}