-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Generators #914
Comments
So after having a quick conversation with rob, about how I was feeling that I felt like I was going faster by using the generators but then I was slowed down because I needed to customize the generators to fit the layout, customized table css etc. Then I remembered the concept in gatsby called shadowing. How I think shadowing the generators could work;
I think it could work quite well as the customization would truly allow you to speed up as the layout would completely match what you need them for without having too much customization. Also, Could you want to have multiple frontend generator files? 1 for login 2 for dashboard etc. |
It'd be cool if it was possible to At work, for example, in our React app, for every page (FooPage.tsx) we have a sass-file (FooPage.scss). It'd be really useful to be able to write a generator package that when generating a new page also generated an empty sass file and added the corresponding import to *Page.tsx. This generator package would then be published to our org on npm and easily installed in all of our (hypothetical) RW projects. |
Let users override the default generator templates from their own code.
/cc @burnsy
The text was updated successfully, but these errors were encountered: