src
folder during development, it is important to understand the files and folders it contains by default.
In the upcoming sections of the documentation, you’ll find more information about these files and folders.
For now, here is the table that will guide you with each file’s purpose:
Folder | Purpose |
---|---|
assets | Contains the icons, images, fonts, and SCSS files that compile at the runtime and are used within code. |
components | Contains predefined React components specifically crafted for you. This includes but is not limited to a carousel, accordion, product details, and many more. |
index.scss | Global styles. |
index.tsx | Entry point. |
interfaces | Application-wide interface and types. |
routes | Contains additional routes which are not created from the Admin Panel. |
templates | Collection of templates or layouts used by all pages in base theme. Refer Templates documentation for more info. |
utils | Contains useful utilities files and functions. |
src
folder, let’s understand how they all work together in terms of execution flow.