I see
import "phoenix_html"
inside the assets/js/app.js
where is phoenix_html
getting from ?
I see
import "phoenix_html"
inside the assets/js/app.js
where is phoenix_html
getting from ?
In this post scan ahead to “Bonus” for an explanation.
https://github.com/phoenixframework/phoenix_html
Collection of helpers to generate and manipulate HTML contents.
So phoenix_html.js
is the JavaScript support for Phoenix.HTML
The only thing that is currently left of the static assets guide is this old blog post (it references webpack 1.11 which puts is around 2015-08-06 to 2015-08-25 which suggests Phoenix v0.16.1 - v1.0.0 - which is probably why it got pulled from the guides as it is considered out-of-date with reference to v1.3).