I hosted a preview of this component here: https://critical.netlify.app
Let me know if any questions come up! [email protected]
Welcome to my starter project template.
It has a Gulp-powered build system with these features:
- Handlebars HTML templates with Panini
- Sass compilation and autoprefixing
- JavaScript module bundling with webpack
- Built-in BrowserSync server
- For production builds:
- CSS compression
- JavaScript module bundling with webpack
- Image compression
To use this template, your computer needs:
- Download or clone the template.
git clone [email protected]:rafibomb/gulp-sass-handlebars-template.git your_project_name
-
If you cloned, return (skip this step) :) Else if you downloaded, unzip and rename the file to your project name.
-
Then open the folder in your command line:
cd your_project_name
- Install the needed dependencies:
yarn
- Run
yarn start
to run Gulp. Your compiled site will be created in a folder calleddist
, viewable at this URL:
http://localhost:8000
You're ready to go!
To create compressed, production-ready assets, run yarn run build
.
No 3rd party dependencies needed on this one.