vuepress-plugin-remove-html-extension
TypeScript icon, indicating that this package has built-in type declarations

1.9.0 • Public • Published

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.

Package Sidebar

Install

npm i vuepress-plugin-remove-html-extension

Weekly Downloads

23

Version

1.9.0

License

MIT

Unpacked Size

3.46 kB

Total Files

8

Last publish

Collaborators

  • azat-io