Closed Mister-Hope closed 3 years ago
I couldn't even get it started. I installed and here is my plugins in the config file:
plugins: [
'@vuepress/medium-zoom',
[
'@vuepress/google-analytics',
{
ga: 'UA-135004813-1',
},
],
[
'sitemap',
{
hostname: 'https://docs.jesse-ai.com',
},
],
],
Am I missing something?
I couldn't even get it started. I installed and here is my plugins in the config file:
plugins: [ '@vuepress/medium-zoom', [ '@vuepress/google-analytics', { ga: 'UA-135004813-1', }, ], [ 'sitemap', { hostname: 'https://docs.jesse-ai.com', }, ], ],
Am I missing something?
What's the error log?
@Mister-Hope there's no error, I just can't seem to find the sitemap if there's any. I expected to be present at: http://localhost:8080/sitemap.xml
Am I missing something?
The sitemap is only generated when building
I cannot generate a sitemap when building either.
plugins: [
['cursor-effects'],
['seo'],
// ['@vuepress/plugin-blog'],
['vuepress-plugin-mathjax'],
['vuepress-plugin-disqus'],
['sitemap',
{
hostname:'https://patricksudo.github.io'
},
],
// ['vuepress-plugin-auto-sidebar'],
],
Since this plugin is not maintained. You can try @mr-hope/vuepress-plugin-sitemap
Thanks, your plugin works, really helpful.
The doc in readme is too simple.
E.g.: the param
time
in the dateFormat function, we don't know what's it unless we read through the code.