Docs

CLI

Simple commands to build your components.

Overview

The lomer-ui command-line interface (CLI) is a toolkit designed to make copy-pasting components effortless and straightforward.

Automatically detects and installs Tailwind CSS using the SvelteKit CLI if it's not already set up.

Automatically detects and installs Tailwind Merge using npm if required.

Commands

get

npx lomer-ui get [component/s]

Get base component.

e.g. npx lomer-ui get button

e.g. npx lomer-ui get button dropdown

craft

npx lomer-ui craft [recipe] [name_it]

Create a component and place it anywhere in your project.

e.g. npx lomer-ui craft dropdown MyDropdown