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

File structure #1

Open
kennethlarsen opened this issue Sep 13, 2019 · 1 comment
Open

File structure #1

kennethlarsen opened this issue Sep 13, 2019 · 1 comment

Comments

@kennethlarsen
Copy link
Owner

kennethlarsen commented Sep 13, 2019

baelte will work with an opinionated project structure.

The assumed file structure for baelte is not set in stone just yet. I will be finalized for v1.

src
├── ui
│   ├── components
│   │   └── list-paginator
│   │       ├── paginator-control
│   │       │   ├── Component.svelte
│   │       │   └── Component.spec.js
│   │       ├── Component.svelte
│   │       ├── Component.spec.js
│── public
│   └── ...

This is currently what I'm working at.

Reference: https://nullvoxpopuli.com/2019-04-15-a-general-project-structure-that-works-in-any-ecosystem/

@jerriclynsjohn
Copy link

If you look at the atomic design principle, you'll see that any project can be made to be structured under the concept of atoms, molecules, organisms, templates and pages. The best example of this as a folder structure can be found at Atomic React. Modern web design is rooted at components and can be very much be related to the atomic design principle, from the designs in Figma to component development in Storybook to integration in Svelte. You can also look at how twitter has accomplished component based design here. Do let me know your thoughts!

@kennethlarsen kennethlarsen pinned this issue Oct 1, 2019
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