vite-plugin-drupal-twig-hmr
JSON →A Vite plugin that enables Hot Module Replacement (HMR) for Drupal Twig templates and Single-Directory Components. Current stable version is 1.0.1, released on a low cadence. It uses Vite's HMR API and Drupal's Twig debug mode to fetch updated HTML and perform DOM replacements when a .twig file changes. Limited to theme suggestions and does not support TypeScript or automated testing. Differentiates from other Drupal build tools by providing instant template reloads without full page refresh, but requires a compatible Vite-Drupal setup (e.g., via the Vite module) and a virtual module script injected into the backend.
Traffic · last 30 days stale · no recent hits
total hits 12
actors 4 distinct systems
last hit 25d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · BD · 🇩🇪 Germany · 🇫🇷 France
Resources
API endpoints
compatibility /v1/registry/vite-plugin-drupal-twig-hmr/compatibility