We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0.0-alpha.24
I tried plugin api while looking at the document of additionalpages(https://vuepress.vuejs.org/plugin/option-api.html#additionalpages).
It works with the filePath property, but it does not work with the content property.
The repository is https://github.com/mya-ake/vuepress-plugin-additionalPages-sample
I want this to work.
additionalPages: [ { path: '/test/', content: '# Test Page', }, ]
Route exists but a blank page is displayed.
The text was updated successfully, but these errors were encountered:
This is because the content is not added to temporarily created page-components.js. https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/core/lib/internal-plugins/pageComponents.js
This is a suggestion.
What do you think of this?
If there is no problem implement it and issue a pull request.
Sorry, something went wrong.
4f505a8
Thanks for the report, fixed at 4f505a8.
No branches or pull requests
Bug report
Version
1.0.0-alpha.24
Steps to reproduce
I tried plugin api while looking at the document of additionalpages(https://vuepress.vuejs.org/plugin/option-api.html#additionalpages).
It works with the filePath property, but it does not work with the content property.
The repository is https://github.com/mya-ake/vuepress-plugin-additionalPages-sample
What is expected?
I want this to work.
What is actually happening?
Route exists but a blank page is displayed.
Other relevant information
The text was updated successfully, but these errors were encountered: