Skip to content
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

If components get restructured, controllers could be part of each component's folder #11

Open
oalexdoda opened this issue Aug 28, 2019 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@oalexdoda
Copy link
Owner

oalexdoda commented Aug 28, 2019

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

image

@oalexdoda oalexdoda added the help wanted Extra attention is needed label Aug 28, 2019
@oalexdoda
Copy link
Owner Author

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.

@oalexdoda oalexdoda added the enhancement New feature or request label Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant