mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
15 lines
266 B
TypeScript
15 lines
266 B
TypeScript
import { createApp } from "vue";
|
|
import App from "./App.vue";
|
|
import { bootstrap } from "./cool";
|
|
|
|
const app = createApp(App);
|
|
|
|
// 启动
|
|
bootstrap(app)
|
|
.then(() => {
|
|
app.mount("#app");
|
|
})
|
|
.catch((err) => {
|
|
console.error("COOL-ADMIN 启动失败", err);
|
|
});
|