[M] Move other scripts to scripts

This commit is contained in:
Hykilpikonna
2021-12-25 03:28:43 -05:00
parent 37a26d8b1f
commit 895d97394a
7 changed files with 6 additions and 6 deletions
+2
View File
@@ -0,0 +1,2 @@
// export const backendUrl = 'http://localhost:5000'
export const backendUrl = 'https://telegram-api.hydev.org'
+29
View File
@@ -0,0 +1,29 @@
import {createI18n} from "vue-i18n";
export const messages = {
en: {
nav: {
home: 'Home',
about: 'About',
blog: 'Blog',
life: '生活',
projects: 'Projects',
}
},
zh: {
// nav: {
// home: '温馨家',
// about: '关于我',
// blog: '部落格',
// projects: '我做的',
// }
}
}
export const i18n = createI18n({
messages,
locale: navigator.language.split('-')[0],
fallbackLocale: 'en'
})
console.log(navigator.language)