We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1ceec commit 13dc501Copy full SHA for 13dc501
docs/ja/guide/hot-reload.md
@@ -28,8 +28,8 @@ if (module.hot) {
28
module.hot.accept(['./mutations', './modules/a'], () => {
29
// 更新されたモジュールをインポートする
30
// babel 6 のモジュール出力のため、ここでは .default を追加しなければならない
31
- const newActions = require('./actions').default
32
const newMutations = require('./mutations').default
+ const newModuleA = require('./modules/a').default
33
// 新しいモジュールとミューテーションにスワップ
34
store.hotUpdate({
35
mutations: newMutations,
0 commit comments