Skip to content

lightingbeetle/next-lighter

Repository files navigation

Next-Lighter

See live example project See live example design system

Quick start

npx degit github:lightingbeetle/next-lighter my-new-project

Degit will clone this repository without git history.

Install

You need "node": ">=16.10.0" and corepack enabled (corepack enable).

Then run install command:

yarn

Development

Prebuild before first dev start

Run npm run build before first dev start. Some packages need to be built before starting dev for the first time. It's a known issue, that needs to be resolved.

Dev

Run npm run dev in root of this repository to develop example project. Run npm run dev:design-system in root of this repository to develop design system.

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

Build

Run npm run build in root of this repository.

CMS (Netlify CMS)

Currently we support editing compontents documentation in git powerd Netlify CMS. This is experimental feature and may not work.

Local development

  1. Run npx netlify-cms-proxy-server in the root of this repository to bypass Github workflow
  2. Run npm run dev:design-system to start local development server

Static scope

See more