File tree Expand file tree Collapse file tree 6 files changed +25
-215
lines changed Expand file tree Collapse file tree 6 files changed +25
-215
lines changed Original file line number Diff line number Diff line change 5
5
],
6
6
"eslint.packageManager" : " yarn" ,
7
7
"eslint.enable" : true ,
8
- "typescript.tsdk" : " node_modules/typescript/lib"
8
+ "typescript.tsdk" : " node_modules/typescript/lib" ,
9
+ "i18n-ally.localesPaths" : []
9
10
}
Original file line number Diff line number Diff line change 1
1
import { createApp } from 'vue'
2
- import { createI18nComposer } from 'vue-i18n'
2
+ import { createI18n } from 'vue-i18n'
3
3
import App from './App.vue'
4
4
5
- const i18n = createI18nComposer ( {
5
+ const i18n = createI18n ( {
6
6
locale : 'ja' ,
7
7
messages : { }
8
8
} )
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { createI18n } from 'vue-i18n'
3
3
import App from './App.vue'
4
4
5
5
const i18n = createI18n ( {
6
+ legacy : true ,
6
7
locale : 'ja' ,
7
8
messages : { }
8
9
} )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ module.exports = {
18
18
// is a simple `export * from '@vue/runtime-dom`. However having this
19
19
// extra re-export somehow causes webpack to always invalidate the module
20
20
// on the first HMR update and causes the page to reload.
21
- ' vue' : '@vue/runtime-dom'
21
+ vue : '@vue/runtime-dom'
22
22
}
23
23
} ,
24
24
devServer : {
Original file line number Diff line number Diff line change 59
59
"typescript" : " ^3.8.3" ,
60
60
"typescript-eslint-language-service" : " ^2.0.3" ,
61
61
"vue" : " ^3.0.0-alpha.11" ,
62
- "vue-i18n" : " ^9.0.0-alpha.1 " ,
62
+ "vue-i18n" : " ^9.0.0-alpha.2 " ,
63
63
"vue-loader" : " ^16.0.0-alpha.3" ,
64
64
"webpack" : " ^4.42.1" ,
65
65
"webpack-cli" : " ^3.3.11" ,
95
95
"format:fix" : " yarn format --write" ,
96
96
"lint" : " eslint ./src ./test --ext .ts" ,
97
97
"lint:fix" : " yarn lint --fix" ,
98
+ "fix" : " yarn lint:fix && yarn format:fix" ,
98
99
"release:prepare" : " shipjs prepare" ,
99
100
"release:trigger" : " shipjs trigger" ,
100
101
"test" : " yarn lint && yarn test:cover && yarn test:e2e" ,
You can’t perform that action at this time.
0 commit comments