Files
lucide/docs
Eric FennisandClaude Opus 5.5 46b0ba6837 fix(site): guard category scroll spy after unmount (#5297)
* fix(site): recover stale tabs after deploys and guard category scroll spy

- Reload once when a lazy chunk from an older deploy fails to load
  (vite:preloadError), and when VitePress swaps in a new hashmap.json and
  loads the new deploy's page chunk into the old app. The second case
  caused 'useIconStyleContext must be used with useIconStyleProvider' and
  'useExternalLibs must be used with externalLibs context', because the new
  chunk brings its own copy of the theme with new Symbol injection keys.
- Guard the category list scroll spy against running after unmount and
  clear its pending timeout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9u8FfuEnhMTXSiKPJV3kb

* revert(site): drop deploy recovery in favor of Vercel skew protection

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G9u8FfuEnhMTXSiKPJV3kb

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-25 15:33:19 +01:00
..

Lucide Docs website

The Lucide docs website is built with Vitepress: https://vitepress.dev/ This is Markdown-based documentation powered by Vue.

Development

# Install dependencies
pnpm install
# Start docs dev server
pnpm docs:dev

# Start api dev server
pnpm dev

Build

# Build docs
pnpm docs:build
# Build api
pnpm build:api

Components

See .vitepress directory.