Hello everyone!
I created a simple project keverywhere / kweb-javascript-npm · GitLab to learn how to use Kotlin / JS with a npm package.
As a npm package was selected “awesome-notifications” awesome-notifications - npm
Steps:
- Create the
Kotlin / JS Browser
project - Append the npm dependency
implementation (npm (" awesome-notifications "," 3.1.0 "))
- Write a tiny wrapper
- Call the wrapper method
But the notification toast appear without a style.
Could you say me, what need to do to append style from npm dependency in the project?
If I manually create the style.css with content from the npm style file, notification will work as expected.