Estrutura de pastas FrontEnd - Desenho2018-1/pan-pan GitHub Wiki

Directory Tree

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

src

  • All main source files goes here.

assets

  • All static assets of the app goes here.

imgs

  • All images of the app goes here.

components

  • All components of the app goes here.
  • Components are small, self containing and shareable functionalities.
  • E.g: header, footer, forms, sections etc;

User

  • This is an example of how to organize components.
  • All components relative to an User goes here.
  • The name must follow the pattern 'YourName'.

models

  • If the component has models, they goes here.

signup

  • The component itself, generally contain a .jsx and a .css

pages

  • 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.
⚠️ **GitHub.com Fallback** ⚠️