Closed hosamalzagh closed 6 years ago
Any examples of resulting code will be nice
If this is still a problem, please reopen an issue containing your actual output, expected output, and configuration.
By default when we use the scaffold front end stuff prepared by Laravel, it will let us use bootstrap immediately.
However, upon adding PurgeCSS in the webpack.mix.js without adding any additional option, bootstrap javascript functionality such as dropdowns and stuff did not work properly.
I think this is what @hosamalzagh means. Any fix?
NOTE: Unused CSS removal works fine.
We don't use bootstrap here so I can't really do any meaningful contribution. I'd be open to PR's that add some example Bootstrap settings to the readme.
Yeah, that's the problem. Since such dropdown and other functionality that involve classes are being added to the dom using javascript. So in the initial load, Purge CSS can't read the classes.
I hope I will find time to contribute.
For now, I guess we'll be looking into other CSS frameworks that are not relying too much on javascript like Bulma CSS.
Anyway, thank you for this great plugin! We're lovin it.
not work with bootstrap 4 remove most code