0.1.1 • Published 6 months ago

vendure-plugin-seo v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Related Products Vendure plugin

Vendure Plugin which adds SEO fields to Products and Collections.

Documentation

Install

yarn add vendure-plugin-seo

or

npm install vendure-plugin-seo

Register plugin in your Vendure config

import { SeoPlugin } from vendure-plugin-seo;

//...

plugins: [
  SeoPlugin
]

Generate and run migration

yarn migration:generate SeoPlugin
yarn migration:run

or

npm run migration:generate SeoPlugin
npm run migration:run

Usage

This plugin uses private Custom Fields to set Seo Title, Seo Description, Facebook and Twitter images, then extends Product and Collection GraphQL types with a custom seo GraphQL type.

SEO informations are not mandatory; in their absence, default Product/Collection informations will be used as follow:

FieldFallback
entity.seo.titleentity.title
entity.seo.descriptionentity.description
entity.seo.facebookImageentity.featuredAsset
entity.seo.twitterImageentity.featuredAsset

Admin UI

Seo Vendure Plugin: Product Admin UI Seo Vendure Plugin: Collection Admin UI

GraphQL

Seo Vendure Plugin: GraphQL

Credits

This repo is based on Vendure Plugin Template

0.1.1

6 months ago

0.1.0

6 months ago