How do I prevent the router plugin from auto-filling new route files with placeholder content? #6697
Unanswered
siphosenkosindhlovu
asked this question in
Q&A
Replies: 1 comment
-
|
we would need a way to turn this off. currently not possible (unless you switch off the dev server) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I create a new .tsx file in my routes directory, the Vite plugin automatically writes a scaffold template into it (e.g.
function RouteComponent() { return <div>Hello "/path"!</div> }. This conflicts with AI coding agents that create route files with their own content and I end up with save conficts.Beta Was this translation helpful? Give feedback.
All reactions