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

Scalable folder structure #12

Open
alex-page opened this issue Jan 10, 2021 · 1 comment
Open

Scalable folder structure #12

alex-page opened this issue Jan 10, 2021 · 1 comment

Comments

@alex-page
Copy link
Member

alex-page commented Jan 10, 2021

Right now there is a lot in src.

assets and scripts are the folders I am least confident on right now. assets contains css for a reset, and scripts could be utilities.

@dominikwilkowski any thoughts on this stucture? Do you have any open source examples you are basing the current directory structure off?

src
├── assets
│   └── reset.js
├── index.js
├── App.js
├── tokens
│   ├── index.js
│   └── colors.js
├── layers
│   ├── Example1.js
│   ├── Example2.js
│   ├── Example3.js
│   └── index.js
├── scripts
│   ├── generateConfig.js
│   ├── serviceWorker.js
│   └── storage.js
├── routes
│   ├── Settings
│   │   └── Settings.js
│   ├── About
│   │   └── About.js
│   ├── Editor
│   │   ├── Editor.js
│   │   ├── Canvas.js
│   │   ├── CanvasItem.js
│   │   ├── CanvasList.js
│   │   ├── LayerSelector.js
│   │   ├── Sidebar.js
│   │   ├── index.js
│   │   └── Phrase.js
│   └── index.js
└── components
    ├── ThemeBtn.js
    ├── Header.js
    ├── Navigation.js
    └── index.js
@dominikwilkowski
Copy link
Member

I like it and I would add a primitives folder next to components.

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

No branches or pull requests

2 participants