Folder Structure
Azea/
├── src/
| ├── assets /
| | ├── css
| | ├── iconfonts
| | ├── images
| | ├── plugins
| | ├── scss
| | └── switcher
| ├── commoncomponents/
| | ├── images/
| ├── components/
| ├── layouts/
| ├── index.scss
| └── main.jsx
├── eslintrc.json
├── .gitignore
├── gulpfile.js
├── index.html
├── package.json
└── vite.config.js
| # |
File |
Purpose |
|
assets |
A folder where you can put images, css, json data anything else to be
copied wholesale when you build your application. |
|
App.jsx |
Defines AppModule, the root module that tells React how to assemble the
application. Right now it declares only the AppComponent. Soon there
will be more components to declare. |
|
index.scss |
Global Sss/Scss code. |
|
main.jsx |
Routing basically means navigating between pages. You have seen many
sites with links that direct you to a new page. This can be achieved
using routing. |
|
index.html |
The main page that is served when someone visits your site. Most of
the time you'll never need to edit it.
The CLI automatically adds all tsx and css files when building your app
so you never need to add any
<script> or <link> tags here
manually.
|
|
package.json |
npm configuration listing the third party packages your project uses.
You can also add your own custom scripts
here. |
|
app..{react, scss, js} |
Defines the App Component along with an React template, CSS/SCSS
stylesheet, and a unit test. It is the root component of what will
become a tree of nested components as the application evolves. |
|
Eslintrt.json |
Sets the base path correctly for both command types. Sets the publicDir
path to src/assets Disables brotli compression calculations (saves 2-5
seconds per prod build) Disables the manifest. |
|
gulpfile.js |
Gulp purely uses the JavaScript code and helps to run front-end tasks
and large-scale web applications. |