mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 05:38:04 +00:00
feat: use vue-i18n for language switch (#23)
* feat: add config to resolve path alias. * feat: use vue-i18n for language switch * feat: add .editorconfig for ide * fix: add no-referrer to avoid CROB * fix: setCookie and fix typo * feat: integrate vue-i18n
This commit is contained in:
parent
00774d3a91
commit
ecee495a18
21 changed files with 246 additions and 65 deletions
|
|
@ -3,6 +3,7 @@ import VueAnalytics from "vue-analytics";
|
|||
import App from "./App.vue";
|
||||
import router from "./router";
|
||||
import store from "./store";
|
||||
import i18n from '@/locale';
|
||||
import "@/assets/icons";
|
||||
import "@/utils/filters";
|
||||
import { initMediaSession } from "@/utils/mediaSession";
|
||||
|
|
@ -18,6 +19,7 @@ Vue.config.productionTip = false;
|
|||
initMediaSession();
|
||||
|
||||
new Vue({
|
||||
i18n,
|
||||
store,
|
||||
router,
|
||||
render: (h) => h(App),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue