This project is a starter pack for a NextJS with Apollo Client and Styled-Components setup.
- sample static page
- sample dynamic page
- custom babel config file
- custom _document.js and _app.js files (to support Styled-Components and init Apollo Client)
- Clone the the starter repo
git clone [email protected]:ijsto/inextjs-apollo.git
- Enter the directory
cd inextjs-apollo
- Install project dependencies
npm install` or `npm i
To run the project locally:
npm run dev
Starter project is live at: http://localhost:3000
Comes with some sample components. Offers a couple of suggestions on how to organise them.
If unwanted, simply remove or edit to your liking and most importantly – have fun with it!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.