Installation Next
Next
Create project
Start by creating a new Next.js project:
Add tailwindcss
Configure Tailwind CSS: Setup Tailwind CSS
Setup
Run the init
command to setup uilabs in your project:
You can use the -d
flag for defaults i.e yes
, Tailwind
, @/components
, yes
and yes
.
Configuration
You will be asked a few questions to configure uilabs.config.json
:
Add components
You can now start adding components to your project.
The command above will add the component to your project in the directory you specified during the initialization.