https://github.com/itsjonq/next-g2-starter
A simple Next.js starter to get up and developing quickly with G2
https://github.com/itsjonq/next-g2-starter
Last synced: about 2 months ago
JSON representation
A simple Next.js starter to get up and developing quickly with G2
- Host: GitHub
- URL: https://github.com/itsjonq/next-g2-starter
- Owner: ItsJonQ
- Created: 2020-09-04T17:13:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-01-19T21:58:37.000Z (over 5 years ago)
- Last Synced: 2025-01-13T19:41:08.957Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://g2-components.com
- Size: 93.8 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## G2 - Next.js Starter
Kick off your prototype with this G2 starter. This starter ships with the main [Next.js](https://nextjs.org/learn) files you might need to get up and running blazing fast with the blazing fast app generator for React.
## 🚀 Quick start
1. **Create a Next.js site.**
Use the Next.js CLI to create a new site, specifying the default starter.
```shell
# create a new Next.js site with G2
npx create-next-app my-site --use-npm --example "https://github.com/itsjonq/next-g2-starter/"
```
1. **Start developing.**
Navigate into your new site’s directory and start it up.
```shell
cd my-site/
npm start
```
1. **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 edit `pages/index.js`. Save your changes and the browser will update in real time!