Description
Feature request
What problem does this feature solve?
The documentation is a bit incomplete: in the deployment section, it doesn't mention that the redirects set-up in file enhanceApp.js
must be duplicated for the hosting.
In my particular case, I deployed my website to Netlify, and my redirects were not working. Then I learnt that I have to add them in Netlify's own _redirects
file.
What does the proposed API look like?
...
How should this be implemented in your opinion?
In the deployment section, add a general warning indicating that redirects may need to be configured for the hosting. In addition, a link to the corresponding documentation, and an example, can be provided for each provider.
For Netlify, the link/example can be:
Create file _redirects
under .vuepress/public
and recreate your redirects. For instance:
https://mydomain.com/docs/ https://mydomain.com/docs/getting-started/intro.html
Are you willing to work on this yourself?
For Netlify, yes. For the others no, since I don't know how to configure them