简体   繁体   中英

How to not include everything from Foundation

I installed Foundation on my Rails-powered site in order to use the orbit and modal component via rails g foundation:install And only the CSS needed/associated with those two are what I want to get included. Because all of Foundation's styles got included and my styles got overridden. How do I do that?

Instead of using the Gem, you can just include the css files that you need in the app/assets/stylesheets folder. The Rails asset pipeline will automatically include those css files for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM