webflow-react
webflow-react copied to clipboard
If components get restructured, controllers could be part of each component's folder
If issue #4 gets solved, each controller could go under each component's folder:
e.g.
components/
header/
controller.js
index.js
Not sure if it's the best structure, but rather than storing them separately, this would also help with nested folders for issue #4
When running the script, it could check whether the folder exists, and only add the component's index.js rather than overwriting the whole folder, therefore keeping the controller.js and any other files inside that component's folder.