serve
serve copied to clipboard
Set rewrites config without serve.json for SPA?
Hi.
Do I have to write a file to apply the rewrite rule?
Can't this function be applied from CLI? according to documentation, the following settings are required to test the SPA application.
{
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
}
Is this function not available in CLI as below?
serve -p 9982 --spa dist
Am I missing something from documentation? or is it worth considering?