template icon indicating copy to clipboard operation
template copied to clipboard

Proposing that --single to npm run dev

Open johnpapa opened this issue 4 years ago • 7 comments

I propose that the flag --single be added to the npm run dev script. This will allow fallback routing to work with the development server.

This is important as new folks use this template to get started. When they add client side routing and they refresh on a client side route, the current behavior will result in a 404. By adding --single this will "just work"

This is documented in the readme here, but I believe that this should be the default.

cc @mindrones @softchris

johnpapa avatar Feb 24 '20 14:02 johnpapa