Vue Js Worked Noted - Part 1
This doc useful to remember some new works that has been done in vue js INDEX Bool in javascript Downloadable Table Records Redirect / redirect with params Set state and get state Emit Function JSON . parse () Bind class Based on Condition ------------------------------------------------------------------------------- Set state and get state Store - > apicore.js import { scHelpers } from "~/assets/js/utils" ; const { uniqueID } = scHelpers ; export const state = () => ({ siteIds: [] }); export const getters = { getSiteIds ( state ) { return state . siteIds ; }, }; export const mutations = { setSiteIds ( state , siteIds ) { state . siteIds = siteIds ; }, }; export const actions = { fetchSiteIds ({ commit , dispatch }) { const siteIds = [ { ...