Hi!
What is the correct way to load styles when using lazy modules with webpack? I have checked examples in Templates
section as well as boilerplate code generate by cli tool but all of them simple import framework7.bundle.css
.
Under Browser modules
, it says that Note, that browser modules also load modules styles automatically
. However, this method is not suitable for webpack.
So what is the right way to load styles for lazy modules with webpack? Just import framework7.bundle.css
? If yes, how to remove unused css code?