Make sure that you have latest node.js version
To install run
yarn
- CSS: Sass (scss)
- Libsass (node-sass) for ultra light compiles
- CSS globbing import for Sass partials
- Autoprefixer
- Foundation 6 included
- JS:
- Uglify and minify scripts
- Webpack as a module bundler
- HTML:
- Templates are compiled with Nunjucks
- Images:
- Compress images from assets/img
- Webfont:
- Generate webfont from SVG
- Generate sass file for webfont and html demo preview
- Livereload:
- Livereloading after css, js or html change with BrowserSync
- Run server on port 3000 (default) developers tools - port 3001
- Notify:
- Notify about error in watch tasks (working on Windows 8 or higher)
Command | Description |
---|---|
gulp | Run build, start watch for changes assets files and run BrowserSync server |
gulp build | Build public views with assets and components |
gulp production | Build public views with minified assets and components to production |
Change browserSync.server to browserSync.proxy:"hostname.dev" in config.js to run browserSync in proxy mode.