vuepress-plugin-remove-html-extension
v1.15.0
Published
VuePress plugin for generating clean urls
Downloads
82
Maintainers
Readme
vuepress-plugin-remove-html-extension
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.