2.3.0 • Published 5 years ago
@growthops/nextjs v2.3.0
GrowthOps Next.js
Interactive Next.js project generator and command line tool
Usage
Scaffold a new project
Run npx @growthops/nextjs init
from your terminal. This will interactively create a new project folder inside of your current directory. For instance, if you want the new project to live under ~/Sites/awesome-project
, run the command from ~/Sites
.
Create new components
From your root project directory, run npx @growthops/nextjs component Button
. This will create Button.js
in the components
directory and add it as an export to components/index.js
.