I\'m using typescript syntax in my vuejs project that integrated with vuex. I want to use mapState method as computed in my .ts file but I got a syntax error. Currently I am usi
Easier using JS Spread syntax:
{{ custom }}
Your store:
import Vue from 'vue'; import Vuex from 'vuex'; Vue.use(Vuex); export default new Vuex.Store({ state: { stuff: 'some title', }, mutations: { }, actions: { }, });