Skip to content

📗 VuePress v2 plugin for generating clean urls without .html extension.

License

Notifications You must be signed in to change notification settings

azat-io/vuepress-plugin-remove-html-extension

Repository files navigation

vuepress-plugin-remove-html-extension

VuePress

Version Downloads

VuePress v2 plugin for generating clean urls without .html extension.

Installation

npm install --save vuepress-plugin-remove-html-extension

Usage

Add plugin to your VuePress config:

import { removeHtmlExtensionPlugin } from 'vuepress-plugin-remove-html-extension'

export default {
  plugins: [removeHtmlExtensionPlugin()],
}

Netlify

If you are using Netlify to deploy your website, open "Site settings", "Build and deploy" tab. In the "Asset optimization" section, check the "Pretty URLs" checkbox.

Contribution

Pull requests are welcome.

About

📗 VuePress v2 plugin for generating clean urls without .html extension.

Resources

License

Stars

Watchers

Forks

Packages

No packages published