Menu icon Foundation

My Posts





My Comments

Daniel Nyman commented on Daniel Nyman's post about 1 month

Got it working with the following:
# Paths to Sass libraries, which can then be loaded with @import
sass:
- "node_modules"
- "node_modules/foundation-sites/scss"
- "node_modules/motion-ui/src"
- "node_modules/@fortawesome/fontawesome-pro/scss"
And remember to restart.

Daniel Nyman commented on Daniel Nyman's post 3 months

Finally managed to figure out how load stuff from node_modules and how it's all structured (I think).
So I added the following to my src/assets/scss/app.scss:
//import Font Awesome Pro Light
@import 'fontawesome';
@import 'light';
And now my icons are showing up. 
Next step I guess is to figure out how to add the SVG + JS version.

Daniel Nyman commented on Samuel Earl's post over 1 year

 
I'm also curious about this, and from my understanding it would be much easier now when foundation have support for ES2016.

Daniel Nyman commented on Daniel Nyman's post almost 4 years

Solution for Windows 8.1

There is a problem with the latest release of nodejs. So do the following.

  1. Uninstall nodejs (restart computer)
  2. Install http://nodejs.org/dist/v0.10.9/node-v0.10.9-x86.msi (restart computer)
  3. open cmd, run "npm install npm -g"
  4. remove npm and npm.bat from C:\Program Files (x86)\nodejs (this will make your C:\Users\yourusername\AppData\Roaming\npm trigger instead)

get the latest version of ruby and git.

this will give you the following versions:
node 0.10.9
npm 2.6
ruby 1.9.3p551
git 1.9.5

I did follow these instructions:
http://foundation.zurb.com/forum/posts/11597-how-to-install-grunt-and-libsass-on-windows

step 7. it's C.\DevTools\bower\apps
step 8. run cmd as administrator
step 11. it's C:\DevTools\Bower\apps not C:\DevTools\Bower\app
step 13. run cmd as administrator
step 14. if you have problems with this, close cmd and don't run it as administrator
step 16. run cmd as administrator

Source:
http://stackoverflow.com/questions/28392450/stuck-on-installing-dependencies-with-bower-foundation-new

Hope this helps, will try to get it to work on my OSX when I get home

Daniel Nyman commented on Daniel Vos's post almost 4 years

I can also confirm this.

Windows 8.1 Enterprise x64, been at it for 2 days now. Very frustrating not getting it to work :(

Posts Followed



Following

    No Content

Followers

My Posts

My Comments

You commented on Daniel Nyman's post about 1 month

Got it working with the following:
# Paths to Sass libraries, which can then be loaded with @import
sass:
- "node_modules"
- "node_modules/foundation-sites/scss"
- "node_modules/motion-ui/src"
- "node_modules/@fortawesome/fontawesome-pro/scss"
And remember to restart.

You commented on Daniel Nyman's post 3 months

Finally managed to figure out how load stuff from node_modules and how it's all structured (I think).
So I added the following to my src/assets/scss/app.scss:
//import Font Awesome Pro Light
@import 'fontawesome';
@import 'light';
And now my icons are showing up. 
Next step I guess is to figure out how to add the SVG + JS version.

You commented on Samuel Earl's post over 1 year

 
I'm also curious about this, and from my understanding it would be much easier now when foundation have support for ES2016.

You commented on Daniel Nyman's post almost 4 years

Solution for Windows 8.1

There is a problem with the latest release of nodejs. So do the following.

  1. Uninstall nodejs (restart computer)
  2. Install http://nodejs.org/dist/v0.10.9/node-v0.10.9-x86.msi (restart computer)
  3. open cmd, run "npm install npm -g"
  4. remove npm and npm.bat from C:\Program Files (x86)\nodejs (this will make your C:\Users\yourusername\AppData\Roaming\npm trigger instead)

get the latest version of ruby and git.

this will give you the following versions:
node 0.10.9
npm 2.6
ruby 1.9.3p551
git 1.9.5

I did follow these instructions:
http://foundation.zurb.com/forum/posts/11597-how-to-install-grunt-and-libsass-on-windows

step 7. it's C.\DevTools\bower\apps
step 8. run cmd as administrator
step 11. it's C:\DevTools\Bower\apps not C:\DevTools\Bower\app
step 13. run cmd as administrator
step 14. if you have problems with this, close cmd and don't run it as administrator
step 16. run cmd as administrator

Source:
http://stackoverflow.com/questions/28392450/stuck-on-installing-dependencies-with-bower-foundation-new

Hope this helps, will try to get it to work on my OSX when I get home

You commented on Daniel Vos's post almost 4 years

I can also confirm this.

Windows 8.1 Enterprise x64, been at it for 2 days now. Very frustrating not getting it to work :(

Posts Followed

Following

  • No Content

Followers