nextjs-generator

1.0.2 • Public • Published

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

Option Required Description
n (name) Yes Name of the project directory.
fN (forNetlify) No Adds "export" script in package.json and a "netlify.toml" file.
wF (withFirebase) No Adds environment variables in .env, "lib/firebase.js", and installs "firebase".
wFA (withFontAwesome) No Adds 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

Readme

Keywords

none

Package Sidebar

Install

npm i nextjs-generator

Weekly Downloads

4

Version

1.0.2

License

ISC

Unpacked Size

7.73 kB

Total Files

3

Last publish

Collaborators

  • ashleemboyer