File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
template/code/typescript-i18n/src/i18n Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 44
44
flag-for-router : ['', '--router']
45
45
flag-for-pinia : ['', '--pinia']
46
46
flag-for-vitest : ['', '--vitest']
47
+ flag-for-i18n : ['', '--vue-i18n']
47
48
48
49
# It's quite costly to install Cypress & Playwright even with cache.
49
50
# Maybe we can split them into another job so that all the projects
Original file line number Diff line number Diff line change @@ -3,12 +3,11 @@ import enUS from './locales/en-US.json'
3
3
4
4
type MessageSchema = typeof enUS
5
5
6
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
7
- export const i18n = createI18n < [ MessageSchema ] , 'en-US' > ( {
6
+ const i18n = createI18n < [ MessageSchema ] , 'en-US' > ( {
8
7
locale : 'en-US' ,
9
8
messages : {
10
9
'en-US' : enUS
11
10
}
12
11
} )
13
12
14
- export type I18nInstance = typeof i18n
13
+ export default i18n
You can’t perform that action at this time.
0 commit comments