Right now I'm learning Kotlin for the front end, I've created Kotlin React App using
npx create-react-kotlin-app my-app
Then I tried to import Bootstrap using import like
@file:JsModule("node_modules/boostrap/bootsrap.js")
external class Boostrap {}
then
in the App.kt, render function
override fun RBuilder.render() {
div("container") {
appHeader()
p("App-intro") {+
"This is body"
}
p("App-ticker") {
ticker()
}
}
}
I've added bootstrap using, npm install command, but, bootstrap files are not at all loading in the UI. Could you please help me to load bootstrap?
Load the bootstrap script in your html
and use the classes in your css style