Should I open an issue in GitHub or am I missing something ? It seems the template is using the entire string admin/posts as props for the Success component. I’ll be glad to contribute if necessary
On the same note, I noticed that when I ran the following command :
yarn rw g component ui/button
The Redwood CLI generated this output :
✔ Generating component files...
✔ Successfully wrote file `./web/src/components/UiButton/UiButton.test.js`
✔ Successfully wrote file `./web/src/components/UiButton/UiButton.stories.js`
✔ Successfully wrote file `./web/src/components/UiButton/UiButton.js`
Hello @Francois and thanks for your offer to jump in and help
The support for specifying the directory is a little inconsistent, but we would want it everywhere! For the cell you generated, did the file end up in the expected “admin” folder? Either way, it should definitely not put admin/posts in the success component like that. A PR for that would be super welcome, if you want to. No pressure