You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
719 B
26 lines
719 B
import './styles/tailwind.css'
|
|
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import router, { setupRouter } from './router'
|
|
import { setupGlobalProperties, setupMousestrap, setupNaive, setupNaiveDiscreteApi, setupSvgIcon } from '@/plugins'
|
|
import { setupStore } from '@/store'
|
|
import 'virtual:svg-icons-register'
|
|
|
|
async function bootstrap() {
|
|
const app = createApp(App)
|
|
setupStore(app)
|
|
setupNaive(app)
|
|
setupSvgIcon(app)
|
|
setupNaiveDiscreteApi()
|
|
setupMousestrap(app)
|
|
setupGlobalProperties(app)
|
|
setupRouter(app)
|
|
await router.isReady()
|
|
const meta = document.createElement('meta')
|
|
meta.name = 'naive-ui-style'
|
|
document.head.appendChild(meta)
|
|
app.mount('#app', true)
|
|
}
|
|
|
|
void bootstrap()
|