Nuxt 已经集成了Vuex,在 store 文件夹中添加相应的文件就可以使用。如果需要预加载数据,只能在 store/index.js 中通过 nuxtServerInit 来实现,其他 store 文件里面 ...
確定! 回上一頁