2.1.1 • Published 8 months ago

nativecn v2.1.1

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

nativecn

A CLI for adding components to your project.

Usage

Use the init command to initialize dependencies for a new project.

The init command installs dependencies and adds a basics:

  • tailwind.config.js
  • global.css
  • babel.config.js
  • nativewind-env.d.ts
  • metro.config.js

Also, if you don’t have a components and lib folders, it will create them for you.

npx nativecn init

After initialization, ensure to include: global.css inside the root layout.

add

Use the add command to add components to your project.

The add command adds a component to your project and installs all required dependencies.

npx nativecn add [Component]

Example

npx nativecn add Text

You can also run the command without any arguments to view a list of all available components:

npx nativecn add
2.1.1

8 months ago

2.1.0

8 months ago

1.4.0

9 months ago

2.0.0

9 months ago

1.3.0

10 months ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.0.4

1 year ago