/alextech

Primary LanguageJavaScript

Using Next.JS and Netlify for performative and compartmentalized site.

This is a Next.js v9.5.4 project bootstrapped with create-next-app and set up to be instantly deployed to Netlify! Original work done by Netlify Principal Engineer Cassidoo.

This project starts w/ 2 sample components, API endpoint,netlify.toml for deployment, and a jsconfig.json for setting up absolute imports and aliases.

Setup

1st, install project:

yarn

2nd, run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Edits from base repo

  1. Deleted master branch, setup main and dev.
  2. add next-on-netlify for previews, updated packages.
  3. add a couple folders with pages inside to check GA. (Tracking-ID injected into head post-processing in Netlify UI.)