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

Folder structure and file organisation on block-level #57

Open
pigeonfresh opened this issue Oct 13, 2018 · 2 comments
Open

Folder structure and file organisation on block-level #57

pigeonfresh opened this issue Oct 13, 2018 · 2 comments
Labels

Comments

@pigeonfresh
Copy link
Contributor

In the last couple of months I often found myself restructure the folder-structure of my blocks through adding some additional folders for styling and scripts. This to prevent from losing overview and keep a hierarchy of files. How are other people handling this issue?

@nossienl
Copy link
Contributor

nossienl commented Dec 4, 2018

Having extra folder for styles is kinda handy for splitting up the scss file.

Scripts folder depends.. mainly a component is 1 thing, so I would have 1 file.

But then again if you want to use enums etc, I would put that in a separate folder within the component folder

@skulptur
Copy link
Contributor

skulptur commented Feb 9, 2020

Having worked in projects together, I particularly disliked having scripts in their own folder. Would rather organize those on demand rather than by default. Don't have an opinion on the scss files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants