nuxt-modules / nuxt-modules/strapi

Provide @strapi/plugin-seo support

Open
#503 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
717
Forks
89
Avg merge
7h 3m
Merged PRs (30d)
6

Description

Is your feature request related to a problem? Please describe.

Currently there is no "official" way to connect the API output of strapi's official seo plugin.

This is no problem as such, but it requires developers to write their own custom code for an issue that could easily be solved by strapi-nuxt.

Describe the solution you'd like

As the @strapi/plugin-seo plugin is very popular, and as Nuxt already provides an easy way to make use of SEO meta tags via useSeoMeta, I recommend to provide a new composable useStrapiSeo that connects both plugins. This composable could complement useStrapiMedia() for outputting seo.metaImage / seo.openGraph.ogImage url's.

Describe alternatives you've considered

Custom implementations / "Googling"

Additional context

I have published a code snippet on how this feature could look like in the most basic implementation. The gist could become the basis for a PR which I'm willing to work on.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked implementation gist and the existing useStrapiMedia() composable to understand the module's conventions. Add the proposed useStrapiSeo composable and verify that it connects Strapi SEO fields, including metaImage and open graph images, with Nuxt's useSeoMeta workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxtjs, typescript
Domain
api, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.