I use nextjs with rsuitejs.
in dev everything works fine. after build the library css are not in the build directory, so ugly page with no css.
i use css module with custom webpack config. you can find the project here :
i imported rsuitejs in the less file and it worked,
+ @import '~rsuite/styles/less/index';
h1 {
font-size: 25px;
font-weight: 600;
color: #424242cf !important;
padding-left: 12px;
}
the repository is correct now, if someone is facing the same problem check this example https://github.com/Temkit/rsuitejs-nextjs-example
thank you to simonguo