Pooya Parsa

Results 959 comments of Pooya Parsa

Not actually, we just need an enhancement which is merged and just awaits for next release that allows us access vuex in store actions. Without that, we need to pass...

@tillkolter Would love to add integration. Actually last time I've used vue-analytics (~5-6 month ago) It made some serious SSR problems that i decided using `ga` directly.

Well I will keep this issue open as an enhancement to analytics module. Actually i need to review `vue-analytics` too for changes and possibility to integrate. BTW for now i...

@MatteoGabriele Never heard of that. Seems a super cool library. Do you think we can have a nuxt module integration for `vue-analytics`? I can deprecate current implementation in favor of...

@MatteoGabriele I've created a dedicated repository [nuxt-community/analytics-module](https://github.com/nuxt-community/analytics-module) with write permission. Good luck and just ping me there if any help was needed.

For passing options to a module, when registering it we can do this: ```js modules: [ ['path to module', /* module options */] ] ``` To access router instance modules...

> In Nuxt as far as I understand you can just achieve this creating a plugin yourself in the application Not exactly :D This is why modules exist! They can...

We can indeed serialize everything as options params. And just pass it down :) Inside plugin template: ```js new vueAnalytics() ```

Nice & seems working :) For easier usage I suggest supporting a top level option too. So usage would be : ```js modules: [ '@nuxtjs/google-analytics' ], analytics: { id: 'UA-12301-2'...

I will check that export default warn too. It seems we need some rollup changes in your library for better ES6 imports support.