frequi_origin/src/main.ts

25 lines
579 B
TypeScript
Raw Normal View History

2020-05-18 18:49:30 +00:00
import Vue from 'vue';
import './plugins/bootstrap-vue';
2021-12-25 12:45:26 +00:00
import './plugins/composition_api';
2020-05-18 18:49:30 +00:00
import App from './App.vue';
import store from './store';
import router from './router';
2021-08-28 12:19:35 +00:00
import { initApi } from './shared/apiService';
import { createPinia, PiniaVuePlugin } from 'pinia';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
2020-07-24 05:21:32 +00:00
2021-08-28 12:19:35 +00:00
initApi(store);
2020-05-04 04:31:12 +00:00
Vue.use(PiniaVuePlugin);
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
2020-05-18 18:49:30 +00:00
Vue.config.productionTip = false;
2020-05-04 04:31:12 +00:00
new Vue({
store,
2020-05-06 05:09:27 +00:00
router,
2020-05-18 18:49:30 +00:00
render: (h) => h(App),
pinia,
2020-05-18 18:49:30 +00:00
}).$mount('#app');