From 0cd4b9d258289f4032bc7871959e57e3e8dc0534 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Wed, 17 Oct 2018 12:58:54 +0100 Subject: [PATCH] Fixed missing CSS libraries --- gulpfile.js | 5 ++--- src/views/fragments/layout.jade | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 3330707..0485b59 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -81,9 +81,8 @@ gulp.task('clean', function () { // Build complete project -gulp.task('build', ['clean', 'lib'], function(){ - // bower({ directory: './production/bower_components'}); - gulp.start('views', 'coffee', 'sass', 'assets'); +gulp.task('build', ['clean'], function(){ + gulp.start('views', 'coffee', 'sass', 'assets', 'lib'); gutil.beep(); // Delete this line if you don't like the sound effects! }); diff --git a/src/views/fragments/layout.jade b/src/views/fragments/layout.jade index 0d02694..1bbe6c0 100644 --- a/src/views/fragments/layout.jade +++ b/src/views/fragments/layout.jade @@ -7,7 +7,7 @@ html meta(name='viewport', content='width=device-width, initial-scale=1') title= title link(href='https://fonts.googleapis.com/icon?family=Material+Icons', rel='stylesheet') - link(rel='stylesheet', href='bower_components/Materialize/dist/css/materialize.min.css') + link(rel='stylesheet', href='lib/node_modules/materialize-css/dist/css/materialize.min.css') link(rel='stylesheet', href='css/styles.css') body.grey.lighten-3