21 lines
515 B
TypeScript
21 lines
515 B
TypeScript
// 剧游AI用户端入口,负责挂载 Vue 应用、注册路由与状态管理
|
|
|
|
import { createApp } from "vue";
|
|
import { createPinia } from "pinia";
|
|
import ElementPlus from "element-plus";
|
|
import zhCn from "element-plus/es/locale/lang/zh-cn";
|
|
|
|
import App from "./App.vue";
|
|
import router from "./router";
|
|
|
|
import "./assets/styles/main.scss";
|
|
import "element-plus/dist/index.css";
|
|
|
|
const app = createApp(App);
|
|
|
|
app.use(createPinia());
|
|
app.use(router);
|
|
app.use(ElementPlus, { locale: zhCn });
|
|
|
|
app.mount("#app");
|