From: Joakim Nystrom Date: Wed, 10 Jan 2018 12:51:41 +0000 (+0100) Subject: Added solution to compile problem for npm users X-Git-Tag: v6.6.0~54^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d4bea17;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Added solution to compile problem for npm users --- diff --git a/docs/pages/sass.md b/docs/pages/sass.md index 9c0cba2f6..a292ad083 100644 --- a/docs/pages/sass.md +++ b/docs/pages/sass.md @@ -77,7 +77,8 @@ Finally, add an `@import` statement to the top of your primary Sass file. Refer @import 'foundation'; ``` -You're also going to want a settings file for your project, which will allow you to modify the default styles of Foundation. **[Download the latest settings file here](https://raw.githubusercontent.com/zurb/foundation-sites/master/scss/settings/_settings.scss)**, add it to your project as `_settings.scss`, then import it *before* Foundation itself. +You're also going to want a settings file for your project, which will allow you to modify the default styles of Foundation. **[Download the latest settings file here](https://raw.githubusercontent.com/zurb/foundation-sites/master/scss/settings/_settings.scss)**, add it to your project as `_settings.scss`, then import it *before* Foundation itself. +For users of npm, you need to change `@import util/util` to a full path to the util (node_modules/foundation-sites/scss/util/util) in the settings file in order to compile it. ```scss @import 'settings';