zurb foundation

dijitaq - 1 week ago

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 - 1 week ago

Use Webpack and npm for it.

ryanthompson - 1 week 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 - 1 week ago

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