There is a way to define vuex in the npm private server package, but it prompts unknown mutation type in the install private server package.

1. I used vuex, in a project An and everything is normal, and vuex can also use
2. After packing, npm publish
3. I install Project An in Project B, perform related operations, Times the following error

clipboard.png


run build

clipboard.png
vuex:

clipboard.png

Mar.18,2021
Menu