1.0.2 • Published 5 years ago

nextjs-generator v1.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

nextjs-generator

I created this because I got tired of creating the same files over and over again. I want to focus more on Next.js concepts and less on setting up projects.

Command line options

OptionRequiredDescription
n (name)YesName of the project directory.
fN (forNetlify)NoAdds "export" script in package.json and a "netlify.toml" file.
wF (withFirebase)NoAdds environment variables in .env, "lib/firebase.js", and installs "firebase".
wFA (withFontAwesome)NoAdds code to load "fas" icons in "pages/_app.js" and installs "@fortawesome/fontawesome-svg-core", "@fortawesome/free-solid-svg-icons", "@fortawesome/react-fontawesome"

Usage

nextjs-generator -n my-app --fN --wF --wFA