Live demo: https://witz-template.netlify.app/
This project is a template test for implementing an eCommerce website using TypeScript, React, Vite, and SASS. It provides a basic structure and setup for building a modern, scalable eCommerce website.
To install this project, you will need to have NodeJS and npm installed on your system. Once you have those installed, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory in your terminal.
- Run
npm installto install all of the project dependencies.
To start the application and run it locally, use the following command:
Copy code
npm run dev
This command will start the Vite server and launch the application in your default web browser. If you make changes to the code while the server is running, the changes will be automatically detected and the page will be refreshed with the updated code.
This project uses SASS for styling. All of the SASS files are located in the src/styles directory. To compile the SASS files, run the following command:
Copy code
npm run sass
This command will compile the SASS files into CSS and output the compiled CSS files in the public/css directory.
This project uses TypeScript for type safety. All of the TypeScript files are located in the src directory. To compile the TypeScript files, run the following command:
Copy code
npm run build
This command will compile the TypeScript files into JavaScript and output the compiled JavaScript files in the dist directory.
In conclusion, this project is a template test for implementing an eCommerce website using TypeScript, React, Vite, and SASS. It provides a basic structure and setup for building a modern, scalable eCommerce website. To install and run the application locally, use the npm run dev command.