|
|
@ -3,12 +3,16 @@ import App from "./App.vue";
|
|
|
|
import "./registerServiceWorker";
|
|
|
|
import "./registerServiceWorker";
|
|
|
|
import router from "./router";
|
|
|
|
import router from "./router";
|
|
|
|
import { createApi } from "@/Api";
|
|
|
|
import { createApi } from "@/Api";
|
|
|
|
import 'bootstrap-icons/font/bootstrap-icons.scss';
|
|
|
|
import "bootstrap-icons/font/bootstrap-icons.scss";
|
|
|
|
import './main.scss';
|
|
|
|
import "./main.scss";
|
|
|
|
import { ThemeConfig } from 'bootstrap-darkmode';
|
|
|
|
import { ThemeConfig } from "bootstrap-darkmode";
|
|
|
|
|
|
|
|
|
|
|
|
export const themeConfig = new ThemeConfig();
|
|
|
|
export const themeConfig = new ThemeConfig();
|
|
|
|
|
|
|
|
try {
|
|
|
|
themeConfig.initTheme();
|
|
|
|
themeConfig.initTheme();
|
|
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
|
|
console.error('failed to init theme');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
createApp(App)
|
|
|
|
createApp(App)
|
|
|
|
.use(router)
|
|
|
|
.use(router)
|
|
|
|