import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '../node_modules/bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap-icons/font/bootstrap-icons.css';
import * as bootstrap from 'bootstrap/dist/js/bootstrap.bundle.js';
/* import axiosInstance from '@/parts/axiosConfig.js'; */
import axios from 'axios';
import vueAxios from 'vue-axios';



/* import bootstrap from './parts/bootstrap.js'; */

/* const app = createApp(App); */

// Attach the custom axios instance to global properties
/* app.config.globalProperties.$axios = axiosInstance; */



/* app.use(store).use(router).mount('#app'); */
axios.defaults.withCredentials=true;
store.commit('setAxiosInstance', axios);
const app = createApp(App).provide('bootstrap',bootstrap).use(router).use(store);
app.use(vueAxios,axios);
app.mount('#app');