akiran / react-foundation-apps

Foundation Apps components built with React
http://webrafter.com/opensource/react-foundation-apps
MIT License
292 stars 48 forks source link

CSS not loading #19

Closed MikaelLarsson closed 9 years ago

MikaelLarsson commented 9 years ago

I ran the bower install foundation-apps --save command but no styling appears. I'm trying to use the Modal component. It appears on the page but with no styling applied. What can I have missed? Could it be something with webpack?

I also ran bower install foundation-apps even though it is already added as a dependency but for no luck.

Please help a noob.

MikaelLarsson commented 9 years ago

Am I missing a SASS loader? I tried to install sass-loader and add: loaders: [ { test: /\.scss$/, loader: "style!css!sass" }, ] to webpack.config.js but that didn't help.

Please give me a hint of what could be wrong.

akiran commented 9 years ago

You have to add css link in you html <link rel="stylesheet" type="text/css" href="http://cdn.jsdelivr.net/zurb/foundation-apps-1.1.0.min.css>

MikaelLarsson commented 9 years ago

Thanks a lot