import './main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import axios from 'axios'

import 'vfonts/Lato.css'
import 'vfonts/IBMPlexMono.css'

const app = createApp(App)

app.use(createPinia())
app.use(router)

const axiosInstance = axios.create({
  withCredentials: true,
  timeout: 9000,
  timeoutErrorMessage: 'E_NETWORK_TIMEOUT',
})
app.provide('axios', axiosInstance)

app.mount('#app')
