# `BB.LiveView.Plugs.Static`
[🔗](https://github.com/beam-bots/bb_liveview/blob/main/lib/bb/live_view/plugs/static.ex#L5)

Serves static assets bundled with the BB LiveView library.

Assets are served from the library's `priv/static` directory with appropriate
cache headers based on content hashing.

# `asset_path`

```elixir
@spec asset_path(String.t()) :: String.t()
```

Returns the path to an asset file for use in templates.

The path includes a hash of the file contents for cache busting.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
