zurb foundation
Created 6 years ago by dijitaq

how do i compile zurb foundation using pyrocms? i tried using {{ asset_add("foundation.css", "node_modules/foundation-sites/scss/foundation.scss") }} but the css file just comes up empty

piterden  —  6 years ago

Use Webpack and npm for it.

ryanthompson  —  6 years ago

@piterden you can also compile this with the asset library.

@dijitaq it looks like your path is not hinted properly. Try node_modules:: but if it's not failing.. chances are something in the file is throwing up issues. To what @piterden said though you can use webpack to compile and use the asset system to render the resulting files.

dijitaq  —  6 years ago

cool, thanks for the answers. i think i'm going to the webpack route as i often use it when using laravel