vuepress-plugin-canonical

canonical plugin for vuepress
10,686
Install
npm install vuepress-plugin-canonical
Latest Version:1.0.0
License:MIT
Last Updated:Apr 5, 2019
Links: npm
Maintainer: oriens

vuepress-plugin-canonical

canonical plugin for vuepress

Add <link rel='canonical' ...> to your vuepress site.

Install

npm i vuepress-plugin-canonical -D

Usage

Read How to use vuepress Plugin first, modify your .vuepress/config.js.

module.exports = {
  plugins: [
    [
      'vuepress-plugin-canonical',
      {
        baseURL: 'https://mina.wiki', // base url for your canonical link, optional, default: ''
        stripExtension: true // strip '.html' , optional, default: false
      }
    ]
  ]
}

Refrences

Related Packages

vuepress-theme-fast

vuepress-theme-fast

1,216
@vuepress/plugin-nprogress

nprogress plugin for vuepress

3,258,429 22,716
@vuepress/plugin-active-header-links

active-header-links plugin for vuepress

3,218,918 22,716
@vuepress/theme-default

Default theme for VuePress

3,076,688 22,716
@vuepress/plugin-search

search plugin for vuepress

2,580,346 22,716

Version History

Version Released License
1.0.0 MIT