Use the init command to initialize configuration and dependencies for a new project.
The init command installs dependencies, adds the cn util, configures tailwind.config.ts, and CSS variables for the project.
npx kanpeki-ui@latest init
You will be asked a few questions to configure kanpeki.json:
Where is your global CSS file? › › src/styles/globals.cssWhere is your tailwind.config.ts located? › tailwind.config.tsConfigure the import alias for components: › ~/componentsConfigure the import alias for utils: › ~/utilsAre you using React Server Components? › no / yes
Usage: kanpeki-ui init [options]initialize your project and install dependenciesOptions: -y, --yes skip confirmation prompt. (default: false) -c, --cwd <cwd> the working directory. defaults to the current directory. -h, --help display help for command