use `useStore` API with vuex 4.x

前端 未结 0 878
终归单人心
终归单人心 2020-12-14 08:02
  1. Follow the official example to export your own useStore, and then use it in the component.
import { createStore, Store,  useStore as baseUseStore         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题