22 lines
405 B
TypeScript
22 lines
405 B
TypeScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import { store, initStores } from './store'
|
|
|
|
// Vant样式
|
|
import 'vant/lib/index.css'
|
|
// 触摸模拟器 (开发环境使用)
|
|
import '@vant/touch-emulator'
|
|
|
|
// 全局样式
|
|
import '@/styles/index.scss'
|
|
|
|
const app = createApp(App)
|
|
|
|
app.use(store)
|
|
app.use(router)
|
|
|
|
// 初始化 stores
|
|
initStores()
|
|
|
|
app.mount('#app') |