1.0.1 • Published 2 years ago

nextcomp-gen v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

NextComp-Gen

NextComp-Gen is a CLI tool designed to streamline the process of generating Next.js components. Whether you're working on the client-side or the server-side, NextComp-Gen has got you covered.

Installation

To install the NextComp-Gen CLI globally, use:

npm install -g nextcomp-gen

Usage

To run the CLI tool, simply use:

nextcomp-gen

Commands

Generate a server component:

nextcomp-gen -s -n [COMPONENT_NAME]

Generate a client component:

nextcomp-gen -c -n [COMPONENT_NAME]

Replace [COMPONENT_NAME] with the desired name for your component. Ensure the name is a single word.

Features

  • Easily generate Next.js components with pre-configured templates.
  • Support for both client and server components.
  • Intelligent error handling and validations.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.0.1

2 years ago

1.0.0

2 years ago