Simple CLI NextJS helper!
npm install nextcli-helperHelp with basics of NextJS, such as:
- Initialization of NextJS
- Running NextJS
- Creating pages
- Creating components
- server
- client
- Creating Server Actions
Command Edit Config - creates a config file in the root of the project, also you can modify:
- "pagePath" - Path for new pages (default: src/app)
- "actionPath" - Path for new actions (default: src/actions)
- "componentPath" - Path for new components (default: src/components)
- "style" - Style for new components (default: tailwind) (@NOTE: FOR NOW DOES NOTHING)
- "packageManager" - Package manager (default: pnpm, options: bun, deno, npm, pnpm)
``bashBun
bun install -g nextcli-helper
Usage
`bash
nextcli
``bash
Opens Tool's cli
(Use arrow keys to navigate choices)
``- (me) BartekDeveloper
MIT