| 1234567891011121314 |
- import { createApp } from 'vue'
- import { createPinia } from 'pinia'
- import ElementPlus from 'element-plus'
- import zhCn from 'element-plus/es/locale/lang/zh-cn'
- import 'element-plus/dist/index.css'
- import { router } from './router'
- import './style/operations.css'
- import './style/prototype.css'
- import App from './App.vue'
- async function start() {
- createApp(App).use(createPinia()).use(router).use(ElementPlus, { locale: zhCn }).mount('#app')
- }
- start().catch(error => { document.getElementById('app')!.textContent = `启动失败:${error.message}` })
|