@vuepress-denaro/vuepress-plugin-sitemap
v1.3.1
Published
VuePress plugin for smooth scrolling.在打包文档时生成站点 sitemap.
Downloads
18
Maintainers
Readme
vuepress-plugin-sitemap
:tada: Generate sitemap when packaging documentation.在打包文档时生成站点 sitemap.
Usage
- Install
# npm
npm install @vuepress-denaro/vuepress-plugin-sitemap
# yarn
yarn add @vuepress-denaro/vuepress-plugin-sitemap
- Update
plugins
in.vuepress/config.js
or.vuepress/config.ts
js
const { sitemapPlugin } = require('@vuepress-denaro/vuepress-plugin-sitemap')
module.exports = {
plugins: [
sitemapPlugin({
hostname: 'https://pake.web.id',
}),
],
}
ts
import { sitemapPlugin } from '@vuepress-denaro/vuepress-plugin-sitemap'
import { defineUserConfig } from '@vuepress/cli'
export default defineUserConfig({
plugins: [
sitemapPlugin({
hostname: 'https://pake.web.id',
}),
],
})