1.0.0-beta • Published 5 years ago

vuepress-plugin-alias v1.0.0-beta

Weekly downloads
48
License
MIT
Repository
github
Last release
5 years ago

vuepress-plugin-alias

Vuepress plugin that generates alias pages for proper redirect handling

Install

  • Yarn

    yarn add vuepress-plugin-alias
  • NPM

    npm install vuepress-plugin-sitemap

Usage

Vuepress v1.x

// .vuepress/config.js
module.exports = {
  plugins: [ 'alias' ]
}

and in your front-matter add alias to redirect from

---
alias: old-link.html
---

or a list of aliases

---
aliases: 
 - old-link1.html
 - old-link2.html
---