import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import './style.css'

// 由路由统一控制滚动，避免浏览器 scroll restoration 与 SPA 抢滚动
if ('scrollRestoration' in history) {
  history.scrollRestoration = 'manual'
}

const app = createApp(App)
app.use(router)
app.mount('#app')
