Folder naming

Standardization

In standardizing our folder naming, there are 3 folders which is most important

  • src/Components/AppComponents = all basic components that are reuseable

  • src/Components/AppBars = Components that consists of basic components that are reuseable

  • src/Components/AppLayouts = Layout templates that you can use to put AppBars

Folder structures

Create folders and jsx files as per example

  • src

    • Components

      • AppComponents

        • AppButton.jsx

        • AppTable.jsx

      • AppBars

        • AppBarSide.jsx

        • AppBarHeader.jsx

        • AppBarLogin.jsx

        • AppBarSignUp.jsx

        • AppBarDashboard.jsx

      • AppLayouts

        • AppLayoutOne.jsx

        • AppLaytoutTwo.jsx

    • Pages

      • Home.jsx

      • About.jsx

      • Login.jsx

Folders should always use capital letter in front !

Last updated

Was this helpful?