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.
Cardiac Cowboys
The heart was always off-limits to surgeons. Cutting into it spelled instant death for the patient. That is, until a ragtag group of doctors scattered across the Midwest and Texas decided to throw out the rule book. Working in makeshift laboratories and home garages, using medical devices made from scavenged machine parts and beer tubes, these men and women invented the field of open heart surgery. Odds are, someone you know is alive because of them. So why has history left them behind? Presented by Chris Pine, CARDIAC COWBOYS tells the gripping true story behind the birth of heart surgery, and the young, Greatest Generation doctors who made it happen. For years, they competed and feuded, racing to be the first, the best, and the most prolific. Some appeared on the cover of Time Magazine, operated on kings and advised presidents. Others ended up disgraced, penniless, and convicted of felonies. Together, they ignited a revolution in medicine, and changed the world.
The Joe Rogan Experience
The official podcast of comedian Joe Rogan.