mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-09-11 05:15:58 +08:00
21 lines
356 B
TypeScript
21 lines
356 B
TypeScript
import { createApp } from 'vue';
|
|
import App from './App.vue';
|
|
import { i18n } from '@/i18n';
|
|
import router from '@/router';
|
|
import store from '@/store';
|
|
import './assets/font/iconfont.css';
|
|
import './assets/app.css';
|
|
|
|
const app = createApp(App);
|
|
|
|
// 路由
|
|
app.use(router);
|
|
|
|
// 国际化
|
|
app.use(i18n);
|
|
|
|
// 状态管理
|
|
app.use(store);
|
|
|
|
app.mount('#app');
|