Integrate Google Optimize in Nuxt application Integrate Google Optimize in Nuxt application vue.js vue.js

Integrate Google Optimize in Nuxt application


You should use a store such as Vuex to handle the local state of your application.

You can then retrieve the state of the store in any page or component. I recommend using vuex-map-fields