mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-05-18 19:23:05 +12:00
17 lines
272 B
TypeScript
17 lines
272 B
TypeScript
|
import { boot } from 'quasar/wrappers'
|
||
|
import { createI18n } from 'vue-i18n'
|
||
|
|
||
|
import messages from 'src/i18n'
|
||
|
|
||
|
const i18n = createI18n({
|
||
|
locale: 'en-US',
|
||
|
messages
|
||
|
})
|
||
|
|
||
|
export default boot(({ app }) => {
|
||
|
// Set i18n instance on app
|
||
|
app.use(i18n)
|
||
|
})
|
||
|
|
||
|
export { i18n }
|