mirror of
https://gitee.com/JJ_JJ-JJ/tianlang-novel
synced 2026-07-21 10:34:44 +08:00
25 lines
466 B
TypeScript
25 lines
466 B
TypeScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import vant from './vant.config'
|
|
import axios from 'axios'
|
|
import { setupStore} from './stores'
|
|
// import { createPinia } from 'pinia'
|
|
|
|
import './assets/yd_base.css'
|
|
|
|
const app = createApp(App)
|
|
|
|
setupStore(app)
|
|
|
|
|
|
app.config.globalProperties.$axios = axios;
|
|
app.config.globalProperties.$vant = vant;
|
|
|
|
|
|
// app.use(createPinia())
|
|
app.use(router)
|
|
app.use(vant)
|
|
|
|
app.mount('#app')
|