You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I come here after having published a bug request on bootstrap-stylus : Stylus bootstrap loaded but not compiled with Webpack.
I've got some support from a bootstrap-stylus contributor then checked some issue on stylus-loader ( #12, #102) and tried some hint but with no result.
To resume : On Chrome inspector, I can see that bootstrap files are loaded but they are not parsed.
Im trying to use bootstrap-stylus in a Webpack context.
As far as I understand, bootstrap-stylus is a Stylus plugin so i used this config in order to parse bootstrap stylus files :
It's a bit of a hack, but try adding this to your navbar.styl file:
@import"~bootstrap/dist/css/bootstrap.min.css"
I'm not sure what the path for the bootstrap buttons CSS file is, but you can find it by inspecting the relevant node module in node_modules assuming that's how you've installed it.
Hi,
I come here after having published a bug request on bootstrap-stylus : Stylus bootstrap loaded but not compiled with Webpack.
I've got some support from a bootstrap-stylus contributor then checked some issue on stylus-loader ( #12, #102) and tried some hint but with no result.
To resume : On Chrome inspector, I can see that bootstrap files are loaded but they are not parsed.
//Copied from my bootstrap-stylus issue
Im trying to use bootstrap-stylus in a Webpack context.
As far as I understand, bootstrap-stylus is a Stylus plugin so i used this config in order to parse bootstrap stylus files :
When I run my serve and inspect, I see that
btn
is loaded but not compiled (and off course btn-primary is not generated)I didnt found any other way to configure it with Webpack.
Any idea ?
The text was updated successfully, but these errors were encountered: