-
Install dependencies:
yarn
To start the development server and run the project locally:
yarn dev
To build the project for production:
yarn build
The production-ready files will be generated in the dist
directory.
To serve the production build locally:
yarn preview
To serve the production build locally:
yarn test
This will start a local server to serve the production build, allowing you to preview the application as it will appear in a production environment.
The project structure is designed to keep your code organized and maintainable. Here's a brief overview of the important directories and files:
src
: Contains the source code of the React application.main.tsx
: Entry point of the application.modules
: App logical modules.pages
: Directory for defining individual pages or views of your application.
public
: Contains static assets that will be directly copied to the build output directory.