Open bitspittle opened 11 months ago
Note that you can workaround this missing feature for now by running some logic in a LaunchedEffect(Unit)
block in your MyApp
function:
val script = document.createElement("script")
script.asDynamic().src = "https://gist.github.com/stevdza-san/35c3f45ca39bd1ee62ece3e324dc4184.js"
document.body!!.appendChild(script)
"There are some scripts, such as bootstrap popper, that need to be added to the body, not the head. Where would this be added?"
Right now, in your project's build script, you can do
and this defines scripts that go in the head block.
It could be nice to also support
The generated code would look something like this: