Wolfgang Criollo Wolfgang Criollo - 1 year ago 187
Sass (Sass) Question

how to install singularitygs using webpack

I'm new to webpack and I'm trying to install singularitygs to my sass file,

I did a npm install singularitygs --save-dev

but not really sure how to go about this any help would be appreciated

Answer Source

Use https://github.com/jtangelder/sass-loader built specifically for Webpack.

It will let you import Singularity as

@import "~singularitygs/stylesheets/singularitygs"

Tilde for sass-loader means "import from node_modules".

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download