You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Vite plugin, in the customScaffolding field, all of its subfields can only be strings for now.
It would be great to be able to provide a function that returns a string instead, with rich arguments provided by TanStack Router, such as the file or route path, to customize the output. For instance, based on the path, we could produce tailored component names instead of a generic one like RouteComponent (people tend to overlook this and forget to rename it).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the Vite plugin, in the
customScaffolding
field, all of its subfields can only be strings for now.It would be great to be able to provide a function that returns a string instead, with rich arguments provided by TanStack Router, such as the file or route path, to customize the output. For instance, based on the path, we could produce tailored component names instead of a generic one like
RouteComponent
(people tend to overlook this and forget to rename it).Beta Was this translation helpful? Give feedback.
All reactions