mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-10 13:18:25 +00:00
Track page views (initial load + client-side navigations) with the @openpanel/web SDK, sending to the self-hosted instance at insights.lucide.dev. This mirrors what the current Plausible script tracks; Plausible stays in place for the icon popularity script. Page views are sent from VitePress' onAfterRouteChange hook (after nextTick) so the page title is already updated. Tracking only runs in the browser and only when VITE_OPENPANEL_CLIENT_ID is set at build time. The SDK is bundled from npm instead of loading op1.js, which EasyPrivacy blocks; insights.lucide.dev/api/track matches no rule in the current EasyList/EasyPrivacy, uBlock Origin or Brave lists. Claude-Session: https://claude.ai/code/session_01AZuxmXLjrs29erwQcePCnX Co-authored-by: Claude <noreply@anthropic.com>
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.