Middleman using Foundation 6

后端 未结 1 1635
予麋鹿
予麋鹿 2021-01-24 14:08

I want to use Middleman with wonderful Foundation 6. Here is a repo I\'ve found on Middleman\'s website.

I have Middleman installed as well as Xcode developers tools. Wh

相关标签:
1条回答
  • 2021-01-24 15:03

    Try to install foundation-sites (v6) at the root of your Middleman project, using NPM:

    cd middleman-project
    npm init -y
    npm install foundation-sites --save
    

    Then, at the file source/stylesheets/site.css.scss, add:

    @import '../../node_modules/foundation-sites/scss/foundation';
    @include foundation-everything;
    

    It works! Finally, you could look at the file foundation.scss and customize what is loaded by foundation-everything.

    0 讨论(0)
提交回复
热议问题