Skip to content

Commit f87ffb2

Browse files
committed
updates
1 parent a0273d5 commit f87ffb2

File tree

6 files changed

+25
-215
lines changed

6 files changed

+25
-215
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
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
}

example/composable/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { createApp } from 'vue'
2-
import { createI18nComposer } from 'vue-i18n'
2+
import { createI18n } from 'vue-i18n'
33
import App from './App.vue'
44

5-
const i18n = createI18nComposer({
5+
const i18n = createI18n({
66
locale: 'ja',
77
messages: {}
88
})

example/legacy/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { createI18n } from 'vue-i18n'
33
import App from './App.vue'
44

55
const i18n = createI18n({
6+
legacy: true,
67
locale: 'ja',
78
messages: {}
89
})

example/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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: {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
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",
@@ -95,6 +95,7 @@
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",

0 commit comments

Comments
 (0)