Skip to content

Commit ad66d81

Browse files
committed
chore: test
1 parent 884b9dd commit ad66d81

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
flag-for-router: ['', '--router']
4545
flag-for-pinia: ['', '--pinia']
4646
flag-for-vitest: ['', '--vitest']
47+
flag-for-i18n: ['', '--vue-i18n']
4748

4849
# It's quite costly to install Cypress & Playwright even with cache.
4950
# Maybe we can split them into another job so that all the projects

template/code/typescript-i18n/src/i18n/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ import enUS from './locales/en-US.json'
33

44
type MessageSchema = typeof enUS
55

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'>({
87
locale: 'en-US',
98
messages: {
109
'en-US': enUS
1110
}
1211
})
1312

14-
export type I18nInstance = typeof i18n
13+
export default i18n

0 commit comments

Comments
 (0)