mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-29 13:46:32 +00:00
feat: 在插件注册中加入Vuetify支持
在应用启动过程中,通过在registerPlugins函数中添加vuetify的使用,实现了Vuetify插件的注册。这一更改确保了Vuetify库可用于应用的前端渲染,为使用Vue.js构建的用户界面添加了Material Design支持。
This commit is contained in:
parent
fe01758cd6
commit
f3b19a6005
@ -5,10 +5,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Plugins
|
// Plugins
|
||||||
|
import vuetify from './vuetify';
|
||||||
import pinia from '../stores';
|
import pinia from '../stores';
|
||||||
import router from '../router';
|
import router from '../router';
|
||||||
import { App } from 'vue';
|
|
||||||
|
|
||||||
export function registerPlugins(app: App) {
|
export function registerPlugins(app) {
|
||||||
app.use(router).use(pinia);
|
app.use(vuetify).use(router).use(pinia);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user