Skip to content

TheHoltz/easycomponentfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easycomponentfiles

A simple package to help create all new component boilerplate to a typescript NextJS project.

Installation

NPM

npm i https://github.com/TheHoltz/easycomponentfiles -g

Yarn

yarn global add https://github.com/TheHoltz/easycomponentfiles

Simple Example

cnc -n navbar

The cnc are the initials of "create new component", and then you can provide the name of the component with the argument -n.

The result of the command are the creation of the following files:

Files created

Example with path relative to components folder

cnc -n utils/text/title

With the above code, the files will be created relative to the components folder, as follows:

Contributing

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

About

A simple package to help create all new component boilerplate to a typescript NextJS project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors