Docs
Vite Installation
Vite Installation
Install and configure Vite.
Create a project
Create a new React project using Vite:
Edit tsconfig.app.json file
Add the following code to the tsconfig.app.json
file to resolve paths:
Add Pigment CSS
Components are styled using Pigment CSS and you need to install it in your project.
Follow the Pigment CSS installation instructions to get started.
Initialize the CLI
Run the lotru
init command to setup your project:
Configure lotru.config.json
You will be asked a few questions to configure.
Add your first component
You can now add components to your project: