-
install dependencies with:
npm i
-
run in development mode (watch changes in the files and refresh your browser automatically):
npm run start
-
would like to publish the project as a website? Then make a distribution build by generating static files:
npm run build
-
Bundle Visualizer:
npx vite-bundle-visualizer
npx vite-bundle-visualizer -t sunburst
npx vite-bundle-visualizer -t network
Path | Description |
---|---|
/src/ | The root directory containing the application code. |
/src/assets | Contains static files such as icons, pictures and logos. |
/src/components | Here are the components that are available globally. |
/src/hooks/ | The directory with hooks. |
/src/layouts | The directory with wrappers for special pages. |
/src/pages | The directory with the project page files. |
/src/providers | The directory with data providers. |
/src/styles | The directory for global project styles. |
/public/ | The directory containing the HTML file of the project, the manifest file of the project, as well as all kinds of icons. |