vue-vuex-store目录结构

  我们知道在store下有index.js,记录着state,getters,mutations...随着内容越来越多,index.js会显得越来越臃肿,于是我们需要进行内容的抽取,抽取的结构如下:

   视频地址:https://www.bilibili.com/video/BV15741177Eh?p=141

原文地址:https://www.cnblogs.com/ibcdwx/p/14642486.html