mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 05:31:24 +00:00
* refactor: add HTTP client wrapper and upgrade axios to v1 Introduce a thin HTTP wrapper (resources/scripts/http) that centralizes axios configuration, interceptors, and auth header injection. All 43 files now import from the wrapper instead of axios directly, making future library swaps a single-file change. Upgrade axios from 0.30.0 to 1.14.0. * fix: restore window.Ls assignment removed during axios refactor company.js uses window.Ls.set() to persist selected company, which broke after the axios plugin (that set window.Ls) was deleted.
23 lines
561 B
JavaScript
Vendored
23 lines
561 B
JavaScript
Vendored
import '../sass/invoiceshelf.scss'
|
|
import 'v-tooltip/dist/v-tooltip.css'
|
|
import '@/scripts/http'
|
|
import * as VueRouter from 'vue-router'
|
|
import router from '@/scripts/router/index'
|
|
import * as pinia from 'pinia'
|
|
import * as Vue from 'vue'
|
|
import * as Vuelidate from '@vuelidate/core'
|
|
|
|
import.meta.glob([
|
|
'../static/img/**',
|
|
'../static/fonts/**',
|
|
]);
|
|
|
|
window.pinia = pinia
|
|
window.Vuelidate = Vuelidate
|
|
import InvoiceShelf from './InvoiceShelf.js'
|
|
|
|
window.Vue = Vue
|
|
window.router = router
|
|
window.VueRouter = VueRouter
|
|
|
|
window.InvoiceShelf = new InvoiceShelf() |