Closed atinux closed 2 years ago
@Atinux thanks for you review. let me do you suggest one by one :)
hi @Atinux i just follow you suggest to change the module name or other options, can you review this repo again? thks :)
Hi @ihavecoke
I tried to checkout the demo directory but I got an error: https://codesandbox.io/s/github/ihavecoke/nuxt-seo-meta/tree/main/demo?file=/pages/index.vue
@Atinux i have just fixed the issue with these changes https://github.com/ihavecoke/nuxt-seo-meta/commit/72b4b3e15554a41581f6f03d1fb76a100b7172ea. :). by the way the demo page are poor now, but i have plan to add more content to explain how the npm works. so the nuxt-seo-meta
repo also under development. some doc or api not perfect
Hi @ihavecoke . Checking the latest code seems everything is cool for Nuxt2. It would be nice as next step, trying to check and ensure module is compatible with Nuxt bridge (more info: https://v3.nuxtjs.org/getting-started/migration#module-migration).
Hi @ihavecoke . Checking the latest code seems everything is cool for Nuxt2. It would be nice as next step, trying to check and ensure module is compatible with Nuxt bridge (more info: https://v3.nuxtjs.org/getting-started/migration#module-migration).
Good idea
Hi @ihavecoke
To respect Nuxt standard, I suggest:
inject
in your plugin and recommend to use$seoMeta
, see https://nuxtjs.org/docs/2.x/directory-structure/plugins#inject-in-root--contextnuxt-seo-meta
seoMeta
property innuxt.config.js
for simplicityWe are working on creating the best practices for Nuxt modules so it would be easier in the future :) In the meantime, I recommend to checkout https://github.com/nuxt-community/module-template/tree/template to learn a bit more :)