daaru00 / gridsome-plugin-i18n

Gridsome plugin for i18n
MIT License
53 stars 12 forks source link

Fix merge route meta #27

Closed sebtiz13 closed 4 years ago

sebtiz13 commented 4 years ago

The variable options.meta it's always "undefined", need use route.internal.meta to get the real meta object of route of page. I discovered that when i trying to correct an conflict with plugin @gridsome/vue-remark This plugin use route.meta of page to pass an function to render page

sebtiz13 commented 4 years ago

Hi @daaru00

Yes of course. I hesitated seeing that it was always "undefined", but it's right it's better to prevent eventual regressions. I have amend my commit.