๐Ÿ“ฆ JamesW1 / next-platform-starter

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/JamesW1/next-platform-starter.git
HTTPS git clone https://github.com/JamesW1/next-platform-starter.git
SSH git clone git@github.com:JamesW1/next-platform-starter.git
CLI gh repo clone JamesW1/next-platform-starter
renovate[bot] renovate[bot] fix(deps): update nextjs monorepo to v15.5.3 (#198) e2df921 4 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ app
๐Ÿ“ components
๐Ÿ“ data
๐Ÿ“ netlify
๐Ÿ“ public
๐Ÿ“ styles
๐Ÿ“„ .eslintrc.json
๐Ÿ“„ .gitignore
๐Ÿ“„ .prettierrc
๐Ÿ“„ jsconfig.json
๐Ÿ“„ netlify.toml
๐Ÿ“„ next.config.js
๐Ÿ“„ package-lock.json
๐Ÿ“„ package.json
๐Ÿ“„ postcss.config.js
๐Ÿ“„ README.md
๐Ÿ“„ renovate.json
๐Ÿ“„ utils.js
๐Ÿ“„ README.md

Next.js on Netlify Platform Starter

Live Demo

A modern starter based on Next.js 14 (App Router), Tailwind, and Netlify Core Primitives (Edge Functions, Image CDN, Blob Store).

In this site, Netlify Core Primitives are used both implictly for running Next.js features (e.g. Route Handlers, image optimization via next/image, and more) and also explicitly by the user code.

Implicit usage means you're using any Next.js functionality and everything "just works" when deployed - all the plumbing is done for you. Explicit usage is framework-agnostic and typically provides more features than what Next.js exposes.

Deploying to Netlify

This site requires Netlify Next Runtime v5 for full functionality. That version is now being gradually rolled out to all Netlify accounts.

After deploying via the button below, please visit the Site Overview page for your new site to check whether it is already using the v5 runtime. If not, you'll be prompted to opt-in to to v5.

Deploy to Netlify

Developing Locally

  • Clone this repository, then run npm install in its root directory.
  • For the starter to have full functionality locally (e.g. edge functions, blob store), please ensure you have an up-to-date version of Netlify CLI. Run:
npm install netlify-cli@latest -g

  • Link your local repository to the deployed Netlify site. This will ensure you're using the same runtime version for both local development and your deployed site.
netlify link

  • Then, run the Next.js development server via Netlify CLI:
netlify dev

If your browser doesn't navigate to the site automatically, visit localhost:8888.