Using Foundation in Electron

I am creating a new Electron application and I would like to use it for applications and SASS. The problem is that the Foundation wants me to create a new project; instead, I would rather add my electron through the Foundation npmor even use it if necessary bower.

What is the best approach for this?

I have successfully tried adding Foundation sites as a dependency npmto my electronic application package.json, but I'm not sure what to do next. Also there is a Foundation for applications alternative to the package npmfor the founding sites?

+4
source share
1 answer

Foundation :

npm install foundation-sites --save

Foundation Sass (SCSS) node_modules/foundation-sites/scss/.

, SCSS scss/app.scss, Foundation SCSS, - :

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

@include foundation-everything

CSS Sass - , Gulp, Webpack, Grunt npm. CSS HTML.

Foundation , Grunt Sass, , , .

Foundation for Apps, foundation-apps.

+4

All Articles