~/talk

Unlimited power with Laravel and Vite!

Talkat ViteConf 2022 · 2022-10-11..10-12· [php, web-platform]
slides:none on file

Laravel replaces Mix with Vite through a dedicated plugin that configures Vite for server-rendered apps, adds a separate CSS entry for SSR, and keeps user Vite configs minimal. The plugin writes a hot file in public/ to advertise the dev URL, automatically listens on 0.0.0.0 inside Sail containers so the dev server is reachable, and injects the Vite client into Blade layouts during dev. It supports HMR (very fast), SRI via vite-plugin-manifest-sri, and automatic CloudFront URL wiring for Vapor deployments.

AI-written summary · about

  1. 0:00Introduction to Laravel Mix
  2. 1:24Transitioning to Vite
  3. 2:09Configuring Vite in Laravel
  4. 3:22Integrating with Jetstream
  5. 5:10Development server features
  6. 6:19Managing the dev environment
  7. 7:49The hot file mechanism
  8. 8:57Testing hot module replacement
  9. 9:40Advanced features and support
  10. 11:18Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.