ihavecoke / nuxt-seo-meta

Help Nuxt create seo metadata easy
45 stars 3 forks source link

Nuxt Module best practices #1

Closed atinux closed 2 years ago

atinux commented 3 years ago

Hi @ihavecoke

To respect Nuxt standard, I suggest:

We 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 :)

ihavecoke commented 3 years ago

@Atinux thanks for you review. let me do you suggest one by one :)

ihavecoke commented 3 years ago

hi @Atinux i just follow you suggest to change the module name or other options, can you review this repo again? thks :)

atinux commented 3 years ago

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

Screenshot 2021-01-11 at 13 18 03

ihavecoke commented 3 years ago

@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

pi0 commented 3 years ago

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).

ihavecoke commented 3 years ago

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