View Source LiveReact.Reload (live_react v1.0.0-rc.3)

Utilities for easier integration with Vite in development

Summary

Functions

Renders the vite assets in development, and in production falls back to normal compiled assets

Functions

vite_assets(assigns)

Renders the vite assets in development, and in production falls back to normal compiled assets

Attributes

  • assets (:list) (required)

Slots

  • inner_block (required) - what should be rendered when Vite path is not defined.