Kick off your prototype with this G2 starter. This starter ships with the main Next.js files you might need to get up and running blazing fast with the blazing fast app generator for React.
-
Create a Next.js site.
Use the Next.js CLI to create a new site, specifying the default starter.
# create a new Next.js site with G2 npx create-next-app my-site --use-npm --example "https://github.com/itsjonq/next-g2-starter/"
-
Start developing.
Navigate into your new site’s directory and start it up.
cd my-site/ npm start
-
Open the source code and start editing!
Your site is now running at
http://localhost:3000
!Open the
my-site
directory in your code editor of choice and editpages/index.js
. Save your changes and the browser will update in real time!