Tic-Tac-Toe example can't run perfectly. how to import .css?
leerenbo opened this issue · 2 comments
leerenbo commented
According to the Tic-Tac-Toe example code prompts, I added require("TicTacToe.css") in fun main(){...}, but there is no require(String) method available and thus it can't be compiled.
browser() {
commonWebpackConfig() {
cssSupport {
enabled.set(true)
}
}
}
Webpack support is open, how to compile to import xxx.css in compiled.js file?
How can I properly import the CSS styles?
turansky commented
Looks like question for #javascript slack channel ;)