From e665169a94a855d7eb45924d8c6ec602578447dd Mon Sep 17 00:00:00 2001 From: Dennis Tang Date: Tue, 8 May 2018 17:13:22 +0000 Subject: [PATCH] add link for babel-plugin-rewire --- doc/development/fe_guide/vuex.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/development/fe_guide/vuex.md b/doc/development/fe_guide/vuex.md index d047fd96dda..95636153805 100644 --- a/doc/development/fe_guide/vuex.md +++ b/doc/development/fe_guide/vuex.md @@ -353,7 +353,7 @@ describe('component', () => { ``` #### Testing Vuex actions and getters -Because we're currently using `babel-plugin-rewire`, you may encounter the following error when testing your Vuex actions and getters: +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: