feat(projects): import i18n [引入i18n]

This commit is contained in:
Soybean
2022-10-12 01:03:14 +08:00
parent 1b45b71f20
commit b632b7ffed
10 changed files with 164 additions and 4 deletions

View File

@ -4,6 +4,7 @@ import { setupDirectives } from './directives';
import { setupRouter } from './router';
import { setupAssets } from './plugins';
import { setupStore } from './store';
import { setupI18n } from './locales';
async function setupApp() {
// import assets: js、css
@ -20,6 +21,8 @@ async function setupApp() {
// vue router
await setupRouter(app);
setupI18n(app);
// mount app
app.mount('#app');
}