1.2.0 • Published 7 months ago

@empireui/empire-ui v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Empire UI CLI

A command-line interface for adding Empire UI components to your Next.js projects.

Installation

You can install the CLI globally using npm:

npm install -g @empireui/empire-ui

Or use it directly with npx:

npx @empireui/empire-ui <command>

Commands

Initialize Empire UI

Sets up Empire UI in your project by creating necessary configuration files and directories.

npx @empireui/empire-ui init

This will:

  • Create components.json configuration file
  • Set up required directories (components/ui, lib)
  • Create Tailwind CSS configuration
  • Add necessary CSS variables and styles

Add Components

Add pre-built components to your project:

npx @empireui/empire-ui add <component>

Example:

npx @empireui/empire-ui add button

Available components:

  • button
  • dialog
  • dropdown-menu
  • input
  • label
  • select
  • textarea
  • toast

Options:

  • --overwrite: Overwrites existing component files (default: false)

Project Requirements

  • Next.js 13+
  • Tailwind CSS
  • TypeScript

Directory Structure

After initialization, Empire UI will create the following structure:

1.2.0

7 months ago

1.0.17

9 months ago

1.0.16

9 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.11

9 months ago

1.0.10

9 months ago

1.0.91

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

0.1.23

11 months ago

0.1.22

11 months ago

0.1.21

11 months ago

0.1.20

11 months ago

0.1.19

11 months ago

0.1.18

11 months ago

0.1.17

11 months ago

0.1.16

11 months ago

0.1.15

11 months ago

0.1.14

11 months ago

0.1.13

11 months ago

0.1.12

11 months ago

0.1.11

11 months ago

0.1.10

11 months ago

0.1.8

11 months ago

0.1.7

11 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago