Folder Structure
Use below velzon structure for modify and better understanding of Velzon.
1. Velzon Assets Folders
| Folder | Path | Description |
|---|---|---|
|
|
src/assets |
Here are all the asset files, including images, videos, fonts, and SCSS files. |
|
|
src/assets/scss/fonts |
Font style files are here. |
|
|
src/assets/images |
This folder contains all the images used in the admin section. |
|
|
src/assets/scss |
Here, you can find all the SCSS files. |
|
|
src/assets/scss/themes.scss |
The primary SCSS file is "themes.scss," which serves as the entry point connecting all other SCSS files and is imported into either "app.js" or "app.ts." |
|
|
src/assets/scss/components |
Here are all the SCSS files for the components. |
|
|
src/assets/scss/config |
Here are all the configuration files, including variables, Bootstrap, and custom configurations. |
|
|
src/assets/scss/config/default/custom.scss |
Customers have the option to use the "custom.scss" file for adding extra CSS. |
|
|
src/assets/scss/pages |
All the pages related scss files are here |
|
|
src/assets/scss/plugins |
Here, you can find all the SCSS files related to plugins, such as chats, tables, Swiper, and others. |
|
|
src/assets/scss/rtl |
The SCSS files related to RTL (Right-to-Left) support. |
|
|
src/assets/scss/structure |
All the SCSS files related to the admin structure, including layouts, footer, and header. |
2. Default Folders
| Folder | Path | Description |
|---|---|---|
|
|
src/common/data |
Here, you can find all the JSON data related to the pages. |
|
|
src/components/common |
Here are the common components used for both layout and admin. |
|
|
src/app |
App Router entry point. Routes are folder-based with a page.tsx file in each route folder. |
|
|
src/slices/auth |
Authentication thunks/reducers live here. UI pages are under src/app/(auth). |
|
|
src/providers |
App-wide providers (e.g., Redux, Theme, FakeBackend) used by the App Router. |
|
|
.env.local |
Local environment overrides for Next.js. Use NEXT_PUBLIC_* for browser-exposed variables. |
|
|
.env.local |
Local environment variables (e.g., Firebase keys). Do not commit. |
|
|
package.json |
You can find packages and dependencies used in admin here. |
Assets
theme.scss