1.2.0 • Published 1 year ago

@empireui/empire-ui v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.91

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

0.1.23

1 year ago

0.1.22

1 year ago

0.1.21

1 year ago

0.1.20

1 year ago

0.1.19

1 year ago

0.1.18

1 year ago

0.1.17

1 year ago

0.1.16

1 year ago

0.1.15

1 year ago

0.1.14

1 year ago

0.1.13

1 year ago

0.1.12

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago