nuxt-community / nuxt-property-decorator

Property decorators for Nuxt (base on vue-property-decorator)
https://github.com/kaorun343/vue-property-decorator
MIT License
399 stars 34 forks source link

the invoke order of 'head' and 'asyncData' seems not correct #82

Closed heyheyhh closed 3 years ago

heyheyhh commented 3 years ago

When I debug my nuxt project, it seems that 'head' is invoked before 'asyncData'.

If so, I can't inject my data from 'asyncData' response into html head node.

pls help me resolve this problem.

Thx

husayt commented 3 years ago

Seems like this is nuxt specific issue and not something to do with this library. Please, check with them here.

If you still think that the issue is here, please, provide an example