import './assets/main.scss' import { createApp } from 'vue' import App from './App.vue' import router from './router' import axios from 'axios' import * as bootstrap from 'bootstrap' import 'vue-toast-notification/dist/theme-sugar.css' axios.defaults.baseURL = '/api' axios.defaults.headers.common['Authorization'] = `Bearer ${localStorage.getItem('authToken')}` axios.defaults.headers.post['Content-Type'] = 'application/json' const app = createApp(App) app.use(router) app.mount('#app')