-
|
I have installed plugin-client-redirects and set up a super simple redirection but it does not kick in. Is there anything special to do besides installing the plugin and adding the configuration ? Here is my plugin config in [
"@docusaurus/plugin-client-redirects",
{
redirects: [
{
from: ["/test"],
to: "/api",
},
],
},
], |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Hi, did you make a production build? The plugin doesn't work in local development. |
Beta Was this translation helpful? Give feedback.
-
|
Oh, it doesn't? I did not know. Let me try a build. |
Beta Was this translation helpful? Give feedback.
-
|
Yeah... it works fine. My bad. When I went back to the documentation, I realized the info is right there at the top. Maybe it should be in a WARNING box instead of a NOTE box. Or maybe I should just improve my reading skills. Sorry for the trouble. |
Beta Was this translation helpful? Give feedback.
Hi, did you make a production build? The plugin doesn't work in local development.