Vite
1,334 sites
Security covered
This project integrates Vite, a modern frontend build tool, with Drupal's asset library system. It allows developers to leverage Vite's speed and features for managing and transforming Drupal's frontend assets.
Vite backend integration for Drupal asset libraries.
Documentation
- General documentation
- Using Drupal translations in javascript built by Vite
- Example usage using DDEV
Other projects in the space of using Drupal with Vite:
- vite-plugin-twig-drupal - transform Drupal twig files into javascript functions usable in Storybook,
- @ueberbit/vite-plugin-drupal - alternative approach for using Vite with Drupal,
- vite-plugin-drupal-twig-hmr - Hot Module Replacement for Single-Directory Components and Twig templates.