Home

Issue: 1145

Is there a way to pass parameter to asyncData in mixin?

[issue link]

If I define asyncData in page component, in the asyncData function, I can access the variable defined before component definition in the .vue file. But in the mixin definition, it’s not possible to access the variable defined in page component.
Is there a way to pass parameter to asyncData in mixin?

This question is available on Nuxt.js community (#c1011)