Used to create react component with styles
npm install create-next-componentCreated this tool to automate the file creation while creating components.
Dillinger uses a number of open source projects to work properly:
- [nodeJS] - For creating files
And of course NextJS CLI itself is open source with a [public repository][dill]
on GitHub.
NextJS CLI requires Node.js v10+ to run.
Install the dependencies and devDependencies and start the server.
``sh``
npx next-component-create "/path/to/component" "ComponentName"