A front-end web application template based on HTML5 Boilerplate and extended with LESS style sheets and Gulp.js task runner.
Clone the git repo:
git clone -o base https://github.com/KriaSoft/Web-App-Boilerplate.git MyApp
cd .\MyApp # change the current directory to your project directory
npm install -g gulp # install gulp task runner globally, if you don't have it installed already
npm install # install dev tools listed in the package.json file
Start a task runner to watch for modifications in source files and compile modified files in the background:
gulp
And when you need to pull and merge the latest changes into your project, run:
git checkout master
git fetch base
git merge base/master
- HTML5 ready. Use the new elements with confidence.
- Cross-browser compatible (Chrome, Firefox, IE8+, Opera, Safari).
- Designed with progressive enhancement in mind.
- Includes Normalize.css for CSS normalizations and common bug fixes.
- The latest jQuery via CDN, with a local fallback.
- The latest Modernizr build for feature detection.
- Placeholder CSS Media Queries.
- Useful CSS helpers.
- Default print CSS, performance optimized.
- Protection against any stray
console.log
causing JavaScript errors in older browsers. - An optimized Google Analytics snippet.
- Apache server caching, compression, and other configuration defaults for Grade-A performance.
- Cross-domain Ajax and Flash.
- "Delete-key friendly." Easy to strip out parts you don't need.
- Extensive inline and accompanying documentation.
- LESS-based style sheets
- Bundling and minification
Take a look at the documentation table of contents. This documentation is bundled with the project, which makes it readily available for offline reading and provides a useful starting point for any documentation you want to write about your project.
Anyone and everyone is welcome to contribute.