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.
|
|
|
import 'element-plus/dist/index.css'
|
|
|
|
import { createApp } from 'vue'
|
|
|
|
import { createPinia } from 'pinia'
|
|
|
|
import App from '@/pages/App.vue'
|
|
|
|
import router from '@/router'
|
|
|
|
import i18n from '@/locales/index'
|
|
|
|
import './styles/index.scss'
|
|
|
|
// 权限
|
|
|
|
import { setupAuth } from '@/directives'
|
|
|
|
|
|
|
|
const app = createApp(App)
|
|
|
|
setupAuth(app)
|
|
|
|
|
|
|
|
app.use(createPinia())
|
|
|
|
app.use(router)
|
|
|
|
app.use(i18n)
|
|
|
|
|
|
|
|
app.mount('#app')
|