2025-12-05 02:30:58 +00:00
|
|
|
import FontAwesomeIcon from "@/lib/fontawesome";
|
2024-08-23 16:38:04 +00:00
|
|
|
import { advent22Store } from "@/lib/store";
|
2025-12-05 02:30:58 +00:00
|
|
|
import { setDefaults as toast_set_defaults } from "bulma-toast";
|
2023-11-01 23:58:09 +00:00
|
|
|
import { createPinia } from "pinia";
|
2023-09-07 01:17:14 +00:00
|
|
|
import { createApp } from "vue";
|
|
|
|
|
import App from "./App.vue";
|
2022-10-28 00:14:20 +00:00
|
|
|
|
2023-09-07 01:17:14 +00:00
|
|
|
import "@/main.scss";
|
2022-10-30 01:27:46 +00:00
|
|
|
|
2023-09-07 01:17:14 +00:00
|
|
|
const app = createApp(App);
|
2023-11-09 23:08:35 +00:00
|
|
|
|
|
|
|
|
app.use(createPinia());
|
2025-12-05 02:30:58 +00:00
|
|
|
app.component("FontAwesomeIcon", FontAwesomeIcon);
|
2024-08-26 14:14:07 +00:00
|
|
|
|
2023-11-09 23:08:35 +00:00
|
|
|
advent22Store().init();
|
2023-11-04 15:58:31 +00:00
|
|
|
|
2023-09-07 01:17:14 +00:00
|
|
|
app.mount("#app");
|
2023-11-10 23:50:43 +00:00
|
|
|
|
2025-12-05 02:30:58 +00:00
|
|
|
toast_set_defaults({
|
2023-11-21 23:22:28 +00:00
|
|
|
duration: 10e3,
|
2023-11-10 23:50:43 +00:00
|
|
|
pauseOnHover: true,
|
|
|
|
|
dismissible: true,
|
|
|
|
|
closeOnClick: false,
|
|
|
|
|
type: "is-white",
|
|
|
|
|
position: "top-center",
|
|
|
|
|
animate: { in: "backInDown", out: "backOutUp" },
|
|
|
|
|
});
|