mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08:01 +02:00
Changes:
- Added Authentication for Piped Accounts - Localization
This commit is contained in:
parent
8548a3646e
commit
de6572eee4
26 changed files with 1045 additions and 596 deletions
14
src/main.js
14
src/main.js
|
@ -1,12 +1,26 @@
|
|||
import { createApp } from 'vue';
|
||||
import { createPinia } from 'pinia';
|
||||
import { createI18n } from 'vue-i18n';
|
||||
|
||||
import App from './App.vue';
|
||||
import en from '@/locales/en.json';
|
||||
|
||||
import('bootstrap-icons/font/bootstrap-icons.css');
|
||||
|
||||
const pinia = createPinia(),
|
||||
i18n = createI18n({
|
||||
globalInjection: true,
|
||||
legacy: false,
|
||||
locale: 'en',
|
||||
fallbackLocale: 'en',
|
||||
messages: {
|
||||
en: en,
|
||||
},
|
||||
}),
|
||||
app = createApp(App);
|
||||
|
||||
window.i18n = i18n;
|
||||
|
||||
app.use(i18n);
|
||||
app.use(pinia);
|
||||
app.mount('#app');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue