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
custom dev server koa config.
In .vuepress/config.js:
module.exports = { webpackServer: (app, middleware, options) => { app.use(xxx) } }
In lib/dev.js,add code:
// ... other code app.use(convert(history({ rewrites: [ { from: /\.html$/, to: '/' } ] }))) if (options.siteConfig.webpackServer) { options.siteConfig.webpackServer(app, middleware, options) }
Yes!
The text was updated successfully, but these errors were encountered:
Thanks, but it has been included in the next version.
Sorry, something went wrong.
@ulivz Thanks,I am very much looking forward to the release of the next version.
No branches or pull requests
Feature request
What problem does this feature solve?
custom dev server koa config.
What does the proposed API look like?
In .vuepress/config.js:
How should this be implemented in your opinion?
In lib/dev.js,add code:
Are you willing to work on this yourself?**
Yes!
The text was updated successfully, but these errors were encountered: