Skip to content

whiteOsky/mnist-linearity-web

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy

Option A: GitHub Pages (static export)

This repo is pre-configured to deploy to GitHub Pages using a GitHub Action.

Steps:

  1. Push this repo to GitHub.
  2. In your repo settings, enable Pages with "GitHub Actions" as the source.
  3. Push to main or master; the workflow at .github/workflows/deploy-pages.yml will:
    • Build with output: 'export' to out/
    • Deploy to GitHub Pages

Notes:

  • The build uses NEXT_PUBLIC_BASE_PATH=/<repo-name> so paths work under https://<user>.github.io/<repo-name>.
  • For local dev, no env is needed; basePath defaults to empty.

Option B: Vercel (SSR or static)

If you prefer zero-config hosting:

  • Import the repo to Vercel
  • Build Command: npm run build
  • Framework: Next.js
  • Node: 18+ (20 recommended)

You’ll get a URL like https://<project>.vercel.app to share.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published