This is a Next.js project bootstrapped with create-next-app
.
I'm tired of wasting time on same configuration again and again so I just make a template to use for my future projects.
git clone https://github.com/xiaooye/nextjs-example.git
cd nextjs-example
cp .env.local.example .env.local
npm install
# or
yarn
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.