Overview:
Essencium is a React-based starter monorepo that includes a component library, documentation, and a boilerplate application. It provides a set of commands for setup, cleaning, linting, formatting, testing, development, and building the project.
Features:
- Component Library: A collection of reusable React components.
- Documentation: Comprehensive documentation to guide users in using and customizing the component library and boilerplate application.
- Boilerplate Application: A pre-configured React application that serves as a starting point for building web applications.
Installation:
To install the Essencium theme, follow these steps:
Clone the project repository.
Navigate to the project directory in the command line.
Run the following command to set up the project environment:
setup-envThis command should be executed only once during project setup. It installs all the dependencies and sets up Husky for commit linting.
To clean up the project, use the following command:
cleanThis command deletes all the
distfolders andnode_modulesfolders.If you want to clean the project and reinstall all the dependencies, use the following command:
clean:installTo perform ESLint linting throughout the codebase, use the following command:
lintTo perform Prettier formatting throughout the codebase, use the following command:
formatTo run all the existing tests with Vitest.dev, use the following command:
testTo start the Vite development server and prepare the library and application for development, use the following command:
devThis command executes
nx dev appand launches the Vite development server with Hot Module Replacement (HMR) support.To build the application for production, use the following command:
buildThis command executes
nx build appand creates adistfolder with the production-ready application.
Summary:
Essencium is a React-based starter monorepo that includes a component library, documentation, and a boilerplate application. It provides a set of commands for setting up the project, cleaning, linting, formatting, testing, development, and building the application. By following the installation guide and utilizing the provided features, users can easily start and customize their web applications using the Essencium theme.