GithubHelp home page GithubHelp logo

azemoh / gulp-pug-sass-seed Goto Github PK

View Code? Open in Web Editor NEW
82.0 6.0 33.0 23 KB

๐Ÿน A Pug and Sass starter project using gulp for task automation.

License: MIT License

HTML 16.01% CSS 17.14% JavaScript 66.85%
pug jade gulp gulp-data browsersync

gulp-pug-sass-seed's Introduction

Pug-Sass Starter project.

Build Status

This is a Pug and Sass starter project using gulp for task automation.

Note

If you still need Jade support use this project instead.

This project uses...

  1. browser-sync to launch a local server and do live reloads as sass and pug files changes
  2. gulp-pug to compile pug files.
  3. gulp-data to pass data to pug. this project uses JSON as the data source, however you can generate data objects from a variety of sources: json, front-matter, database, etc... see gulp-data README
  4. gulp-sass to compile sass files.
  5. gulp-autoprefixer to add vendor prefixes to css files

To run

  • Execute npm install from this directory to install dev dependencies.
  • Execute gulp to run all tasks, launch the browser sync local server and watch for changes.

gulp-pug-sass-seed's People

Contributors

azemoh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gulp-pug-sass-seed's Issues

Syncing changes to .json files

First of all: Great project that tremendously helped me with the core understanding of some gulp mechanics!

I had the issue that changes to the .json data files weren't automatically synced with the browser. I fixed that by adapting the gulp watch task with an additional watch for .json files, triggering a rebuild and also clearing the cache for the .json files in the pug task as described in the following gulp-data issue. I'm just taking my first steps with gulp but maybe that approach is something worth considering for your project.

scripts.js not loading

Thanks for making this, it is very nice.
I have encountered 1 prob, though, which follows.

steps:

  1. clone repo
  2. npm install
  3. gulp
  4. get error in browser "Failed to load resource: the server responded with a status of 404 (Not Found)" script.js

Any ideas?

Thanks!

Sass?

I dont know where the .sass file is could anyone help me? I just have a scss file at /assets/css

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.