CSS DSL
CSS DSL doesn’t need , but requires including the following artifacts in the build script:
The artifact for building CSS:
Gradle (Kotlin)
Maven
Use CSS DSL
To send a CSS response, you need to extend by adding the method to serialize a stylesheet into a string and send it to the client with the content type:
Then, you can provide CSS inside the required :