@writeaway/plugin-seo
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

SEO editor plugin for WriteAway

Usage

npm install --save @writeaway/core
npm install --save @writeaway/plugin-seo

And then in code of bundle

    import { WriteAwayCore } from '@writeaway/core';
    import { WriteAwaySeo } from '@writeaway/plugin-seo';
    
    // Define which piece type is handled by which editor
    const components = {
      seo: WriteAwaySeo,
    };
    
    const writeaway = new WriteAwayCore({
      piecesOptions: {
        components,
        options: {
          seo: {}, // Options for editor        
        }   
      },
    });

Specifics

Data Types

Piece fields data has following fields

header - HTML code inserted in header tag as is

title - Page title

description - Page description

keywords - Page keywords

Piece Options

No options for piece editors supported

Readme

Keywords

none

Package Sidebar

Install

npm i @writeaway/plugin-seo

Weekly Downloads

0

Version

2.1.1

License

MIT

Unpacked Size

1.31 MB

Total Files

19

Last publish

Collaborators

  • spiralscout.develop