Estrutura de pastas FrontEnd - Desenho2018-1/pan-pan GitHub Wiki
src
├── assets
│ └── imgs
├── components
│ └── User
│ ├── models
│ └── signup
└── pages
7 directories
tree v1.7.0 © 1996 - 2014 by Steve Baker and Thomas Moore
HTML output hacked and copyleft © 1998 by Francesc Rocher
JSON output hacked and copyleft © 2014 by Florian Sesser
Charsets / OS/2 support © 2001 by Kyosuke Tokoro
- All main source files goes here.
- All static assets of the app goes here.
- All images of the app goes here.
- All components of the app goes here.
- Components are small, self containing and shareable functionalities.
- E.g: header, footer, forms, sections etc;
- This is an example of how to organize components.
- All components relative to an User goes here.
- The name must follow the pattern 'YourName'.
- If the component has models, they goes here.
- The component itself, generally contain a .jsx and a .css
- All pages of the app goes here.
- Pages are big components, they are responsible for mounting the pages of the project, wrapping the little components of the project.
- E.g: HomePage.jsx render the html of the Homepage of the app, so it can use all others components like a header component or a form component.