This is a Next.js project bootstrapped with create-next-app
and set up to be instantly deployed to Netlify.
Deployment on Netlify can be configured using netlify.toml
.
Option one: One-click deploy
- Click this button, follow the Netlify prompts to allow access to your GitHub account, and allow it to create a clone of this repository on your account.
- Clone the new repository in your GitHub account
Option two: Manual clone
- Clone this repo:
git clone https://github.com/cagmz/next-netlify-typescript-starter.git
- Navigate to the directory and run
npm run dev
- Make your changes
- Connect to Netlify manually (the
netlify.toml
file is the one you'll need to make sure stays intact to make sure the export is done and pointed to the right stuff)
- Install dependencies
npm install
# or
yarn
- Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 to see the application and see changes in your browser by editing pages/index.tsx
.