FreeDATA/gui/src/main.ts

30 lines
760 B
TypeScript
Raw Normal View History

2023-10-22 08:12:00 +00:00
import { createApp } from "vue";
import { createPinia } from "pinia";
import { loadSettings } from "./js/settingsHandler";
2023-09-02 11:37:03 +00:00
2023-10-22 08:12:00 +00:00
import "./styles.css";
2023-09-02 11:37:03 +00:00
// Import all of Bootstrap's JS
//import * as bootstrap from 'bootstrap'
2023-10-22 08:12:00 +00:00
import "bootstrap/dist/js/bootstrap.bundle.min.js";
import "bootstrap/dist/css/bootstrap.css";
import "bootstrap-icons/font/bootstrap-icons.css";
2023-09-02 11:37:03 +00:00
2023-09-05 09:22:00 +00:00
// Import our custom CSS
//import './scss/styles.scss'
2023-09-02 11:37:03 +00:00
2023-10-22 08:12:00 +00:00
import App from "./App.vue";
const app = createApp(App);
2023-09-11 15:08:56 +00:00
//.mount('#app').$nextTick(() => postMessage({ payload: 'removeLoading' }, '*'))
2023-10-22 08:12:00 +00:00
const pinia = createPinia();
app.mount("#app");
2023-09-06 12:48:45 +00:00
2023-10-22 08:12:00 +00:00
app.use(pinia);
loadSettings();
2023-09-02 11:37:03 +00:00
2023-09-06 12:48:45 +00:00
//import './js/settingsHandler.js'
2023-10-22 08:12:00 +00:00
import "./js/daemon";
import "./js/sock.js";
2023-09-12 15:52:16 +00:00
//import './js/settingsHandler.js'