This podcast introduces the concept of micro apps within Drupal using Svelte and Vite to create dynamic front-end experiences. The speaker highlights Svelte's ease of use for JavaScript developers and Vite's benefits for an improved developer experience, such as hot module reloading. The core idea is to integrate independent, focused front-end applications directly into Drupal without requiring a full decoupled architecture. Drupal handles back-end functions like routing and data exposure via JSON API, while the micro app, built with Svelte, focuses on the user interface, components, and interactive elements. The talk details the integration process, including file structure, libraries.yml configuration, and the use of a vite.config file for managing build outputs and automating asset alignment, culminating in a demonstration of interactive dashboards and maps as examples of micro app capabilities.
Notebook to interact with: https://notebooklm.google.com/notebook/1cffd272-9c9d-43fc-ae72-49579b85b9fd?artifactId=69e0fdb4-45aa-4894-a5cd-d92e47b07318
##Drupal4Gov #Drupal #DrupalForge #DrupalBrief #Svelte #Vite #MicroApps
Credits: Source video: https://youtu.be/fzPgB3lPhio
Video Sponsors: https://www.drupalforge.org/
Infrastructure, tooling, and AI provider by https://devpanel.com/
---
This episode of DrupalBrief is sponsored by DrupalForge.org
DrupalBrief.com
Stuff You Should Know
If you've ever wanted to know about champagne, satanism, the Stonewall Uprising, chaos theory, LSD, El Nino, true crime and Rosa Parks, then look no further. Josh and Chuck have you covered.
Dateline NBC
Current and classic episodes, featuring compelling true-crime mysteries, powerful documentaries and in-depth investigations. Follow now to get the latest episodes of Dateline NBC completely free, or subscribe to Dateline Premium for ad-free listening and exclusive bonus content: DatelinePremium.com
The Bobby Bones Show
Listen to 'The Bobby Bones Show' by downloading the daily full replay.