What is Web Starter Kit?
Web Starter Kit is an opinionated boilerplate for web development. Tools for building a great experience across many devices and performance oriented. Helping you to stay productive following the best practices outlined in Google's Web Fundamentals. A solid starting point for both professionals and newcomers to the industry.
|Responsive boilerplate||A responsive boilerplate optimized for the multi-screen web. Powered by Material Design Lite. You're free to use either this or a completely clean-slate via basic.html.|
|Sass support||Compile Sass into CSS with ease, bringing support for variables, mixins and more. (Run
|ES2015 via Babel 6.0||Optional ES2015 support using Babel. To enable ES2015 support remove the line
|Built-in HTTP Server||A built-in server for previewing your site locally while you develop and iterate|
|Live Browser Reloading||Reload the browser in real-time anytime an edit is made without the need for an extension. (Run
|Cross-device Synchronization||Synchronize clicks, scrolls, forms and live-reload across multiple devices as you edit your project. Powered by BrowserSync. (Run
|Offline support||Thanks to our baked in Service Worker pre-caching, sites deploying
|PageSpeed Insights||Web performance metrics showing how well your site performs on mobile and desktop (Run
There are two HTML starting points, from which you can choose:
index.html- the default starting point, containing Material Design layout.
basic.html- no layout, but still includes our minimal mobile best-practices
Web Starter Kit strives to give you a high performance starting point out of the box. Our median Web Page Test scores for the default template have a Speed Index of ~1100 (1000 is ideal) and a repeat-visit Speed Index of ~550 thanks to Service Worker precaching.
At present, we officially aim to support the last two versions of the following browsers:
- Internet Explorer 9+
This is not to say that Web Starter Kit cannot be used in browsers older than those reflected, but merely that our focus will be on ensuring our layouts work great in the above.
A Boilerplate-only Option
If you would prefer not to use any of our tooling, delete the following files from the project:
.travis.yml. You can now safely use the boilerplate with an alternative build-system or no build-system at all if you choose.
Docs and Recipes
- File Appendix - What do the different files here do?
- Using Material Design Lite's Sass - how to get MDL's Sass working with WSK
- Deployment guides - available for Firebase, Google App Engine and other services.
- Gulp recipes - the official Gulp recipes directory includes a comprehensive list of guides for different workflows you can add to your project.
Web Starter Kit is inspired by Mobile HTML5 Boilerplate and Yeoman's generator-gulp-webapp, having taken input from contributors to both projects during development. Our FAQs attempt to answer commonly asked questions about the project.
To learn more, see the code, submit an issue, or to get involved, check out our Git repo at https://github.com/google/web-starter-kit