-
Notifications
You must be signed in to change notification settings - Fork 261
cannot import bootstrap when using the jsx view engine #159
Comments
I tried doing same with tailwindcss and failed. |
+1 |
I Used webpack to compile bootstrap.css into a javascripted form (->bootstrap.js). this is how i got rid of the above problem under nodeJS |
I solved the problem. So finally app.js file has been like that:
And JSX file has been like that:
|
My app.js is as follows :
when i compile with node app.js => importing the bootstrap file gives this error :
What could be missing ? maybe i require a webpack.config file to bundle my css code ?
Thanks
The text was updated successfully, but these errors were encountered: