You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Aza-Kotlin-CSS actually does not support Kotlin JS! You are probably looking for my fork here: https://github.com/null-dev/Aza-Kotlin-CSS-JS which supports Kotlin JS. Replace compile "azadev.kotlin:aza-kotlin-css:$aza_kotlin_css" with compile 'xyz.nulldev:aza-kotlin-css-js:$aza_kotlin_css' and change ext.aza_kotlin_css = '1.0' to ext.aza_kotlin_css = '1.01'.
Even if you use my fork however, your syntax is wrong. After creating a stylesheet with Stylesheet {}, you must add it to the element with style(). A simple example with a button element is below:
document.create.button {
style(Stylesheet {
backgroundColor = RED
}.render())
}
I've my app working fine, once I imported
azadev.kotlin
It gave me error buildMy full code is a s below:
Main.kt:
My gradle.build is:
The text was updated successfully, but these errors were encountered: