Ansh Tyagi
11/16/2021, 9:15 AMjsMain/kotlin
and used kotlinext.require
but it the build throws an error of module not found in jsBrowserProductionWebpack
i used the template for fullstack web app from idea i think it enables cssSupport by default as specified in the docs. Is it that i have to specify the file path under gradle as well or do i have to change the location of the css?Big Chungus
11/16/2021, 9:51 AMAnsh Tyagi
11/16/2021, 10:00 AMfun main() {
window.onload = {
kotlinext.js.require("default.css")
render(document.getElementById("root")) {
mainPage()
}
}
}
using this produces the same error of module not found for the task jsBrowserProductionWebpack
Big Chungus
11/16/2021, 10:08 AM**/build
folders and try again.