diff --git a/doc/development/fe_guide/vuex.md b/doc/development/fe_guide/vuex.md index 0335109366a6da45416291f48bd5c5c6339510b3..bebd0edab5761125d4edbcff261ee3b761bef3c8 100644 --- a/doc/development/fe_guide/vuex.md +++ b/doc/development/fe_guide/vuex.md @@ -356,7 +356,7 @@ describe('component', () => { Because we're currently using [`babel-plugin-rewire`](https://github.com/speedskater/babel-plugin-rewire), you may encounter the following error when testing your Vuex actions and getters: `[vuex] actions should be function or object with "handler" function` -To prevent this error from happening, you need to export an empty function: +To prevent this error from happening, you need to export an empty function as `default`: ``` // getters.js or actions.js