2024-05-16 18:54:30 +08:00
|
|
|
import 'vfonts/Lato.css';
|
|
|
|
|
import 'vfonts/FiraCode.css';
|
|
|
|
|
// tailwind css
|
|
|
|
|
import './index.css';
|
|
|
|
|
import 'remixicon/fonts/remixicon.css';
|
|
|
|
|
|
|
|
|
|
import { createApp } from 'vue';
|
|
|
|
|
|
|
|
|
|
import router from '@/router';
|
|
|
|
|
import store from '@/store';
|
|
|
|
|
|
|
|
|
|
import App from './App.vue';
|
2024-09-04 15:20:43 +08:00
|
|
|
import directives from './directive';
|
2024-05-16 18:54:30 +08:00
|
|
|
|
|
|
|
|
const app = createApp(App);
|
2024-09-04 15:20:43 +08:00
|
|
|
|
|
|
|
|
Object.keys(directives).forEach((key: string) => {
|
|
|
|
|
app.directive(key, directives[key]);
|
|
|
|
|
});
|
2024-05-16 18:54:30 +08:00
|
|
|
app.use(router);
|
|
|
|
|
app.use(store);
|
|
|
|
|
app.mount('#app');
|