19 lines
371 B
TypeScript
19 lines
371 B
TypeScript
|
|
import { createApp } from 'vue'
|
||
|
|
import App from './App.vue'
|
||
|
|
import router from './router'
|
||
|
|
import { createPinia } from 'pinia'
|
||
|
|
|
||
|
|
// Vant样式
|
||
|
|
import 'vant/lib/index.css'
|
||
|
|
// 触摸模拟器 (开发环境使用)
|
||
|
|
import '@vant/touch-emulator'
|
||
|
|
|
||
|
|
// 全局样式
|
||
|
|
import '@/styles/index.scss'
|
||
|
|
|
||
|
|
const app = createApp(App)
|
||
|
|
|
||
|
|
app.use(createPinia())
|
||
|
|
app.use(router)
|
||
|
|
|
||
|
|
app.mount('#app')
|