JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 47
  • Score
    100M100P100Q68689F
  • License MIT

VuePress plugin for generating clean urls

Package Exports

  • vuepress-plugin-remove-html-extension

Readme

vuepress-plugin-remove-html-extension

VuePress

Version Monthly Download GitHub License

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.