require("./bootstrap");

import { createApp } from "vue";
import Navbar from "./components/LanguageSelect.vue";
import Contract from "./components/PDF/Contract.vue";
import { i18n } from "@/assets/locales/l180loca";
import moneyMixin from "@/mixins/money";
// import { ZiggyVue } from "ziggy";

// Vue.component("navbar", require("./components/LanguageSelect.vue"));

const app = createApp({
    el: "#app",
    mounted() {
        console.log("The app is working");
    },
});

app.config.globalProperties.route = route;

app.component("navbar", Navbar);
app.component("Contract", Contract);
app.use(i18n);
// app.use(ZiggyVue);
app.mixin(moneyMixin);
app.mount("#app");
