[Vuejs]-Vue/Vuex/GSAP-Animation: Add DOM elements to store

0👍

Why don’t try you using the mounted() lifecycle method to fire the mutation that stores DOM element selections in vuex state? That way you know something exists to select.

Leave a comment