Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 506 Bytes

README.md

File metadata and controls

42 lines (33 loc) · 506 Bytes

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-alias

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
---