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 55 ],
66 "eslint.packageManager" : " yarn" ,
77 "eslint.enable" : true ,
8- "typescript.tsdk" : " node_modules/typescript/lib"
8+ "typescript.tsdk" : " node_modules/typescript/lib" ,
9+ "i18n-ally.localesPaths" : []
910}
Original file line number Diff line number Diff line change 11import { createApp } from 'vue'
2- import { createI18nComposer } from 'vue-i18n'
2+ import { createI18n } from 'vue-i18n'
33import App from './App.vue'
44
5- const i18n = createI18nComposer ( {
5+ const i18n = createI18n ( {
66 locale : 'ja' ,
77 messages : { }
88} )
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { createI18n } from 'vue-i18n'
33import App from './App.vue'
44
55const i18n = createI18n ( {
6+ legacy : true ,
67 locale : 'ja' ,
78 messages : { }
89} )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ module.exports = {
1818 // is a simple `export * from '@vue/runtime-dom`. However having this
1919 // extra re-export somehow causes webpack to always invalidate the module
2020 // on the first HMR update and causes the page to reload.
21- ' vue' : '@vue/runtime-dom'
21+ vue : '@vue/runtime-dom'
2222 }
2323 } ,
2424 devServer : {
Original file line number Diff line number Diff line change 5959 "typescript" : " ^3.8.3" ,
6060 "typescript-eslint-language-service" : " ^2.0.3" ,
6161 "vue" : " ^3.0.0-alpha.11" ,
62- "vue-i18n" : " ^9.0.0-alpha.1 " ,
62+ "vue-i18n" : " ^9.0.0-alpha.2 " ,
6363 "vue-loader" : " ^16.0.0-alpha.3" ,
6464 "webpack" : " ^4.42.1" ,
6565 "webpack-cli" : " ^3.3.11" ,
9595 "format:fix" : " yarn format --write" ,
9696 "lint" : " eslint ./src ./test --ext .ts" ,
9797 "lint:fix" : " yarn lint --fix" ,
98+ "fix" : " yarn lint:fix && yarn format:fix" ,
9899 "release:prepare" : " shipjs prepare" ,
99100 "release:trigger" : " shipjs trigger" ,
100101 "test" : " yarn lint && yarn test:cover && yarn test:e2e" ,
You can’t perform that action at this time.
0 commit comments