first commit
This commit is contained in:
22
frontend/src/main.ts
Normal file
22
frontend/src/main.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { createApp } from 'vue';
|
||||
import { createPinia } from 'pinia';
|
||||
import PrimeVue from 'primevue/config';
|
||||
import Aura from '@primeuix/themes/aura';
|
||||
|
||||
import 'primeicons/primeicons.css';
|
||||
import './style.css';
|
||||
|
||||
import App from './App.vue';
|
||||
|
||||
const app = createApp(App);
|
||||
app.use(createPinia());
|
||||
app.use(PrimeVue, {
|
||||
theme: {
|
||||
preset: Aura,
|
||||
options: {
|
||||
// 以后想做深色:给 <html> 加 .app-dark 即可
|
||||
darkModeSelector: '.app-dark',
|
||||
},
|
||||
},
|
||||
});
|
||||
app.mount('#app');
|
||||
Reference in New Issue
Block a user