material-design-lite/README.md

59 lines
2.2 KiB
Markdown
Raw Normal View History

2014-05-15 21:40:41 +04:00
# Web Starter Kit
2014-04-07 12:45:18 +04:00
2014-05-16 13:59:52 +04:00
> A starting point for multi-device development
2014-04-16 17:26:21 +04:00
2014-05-16 13:59:52 +04:00
## Overview
2014-04-16 18:12:57 +04:00
2014-06-05 18:26:05 +04:00
Web Starter Kit is a starting point for multi-screen web development, encompassing opinionated recommendations on boilerplate and tooling for building an experience that works great across multiple devices.
2014-04-16 18:12:57 +04:00
2014-06-05 18:26:05 +04:00
The project aims to align with the mobile web recommendations made by Google's [Web Fundamentals](developers.google.com/web/fundamentals) and includes boilerplate, tooling and best practices that fall in line with how we think multi-screen webapps should be built.
2014-04-16 18:12:57 +04:00
2014-05-27 13:27:36 +04:00
## Features
* Mobile-optimized HTML Boilerplate
2014-06-05 18:26:05 +04:00
* Sexy minimalist layout
* Visual component style guide
2014-05-27 13:27:36 +04:00
* Gulp build tooling *(Optional)*
* LiveReload
* Cross-device synchronization of clicks, scrolls, navigation, form filling.
* Image optimization
* JavaScript minification and optimization
* CSS optimization
* PageSpeed integration
2014-05-24 18:48:00 +04:00
2014-05-23 23:02:58 +04:00
## Quickstart
2014-05-27 13:27:36 +04:00
You can use Web Starter Kit just by cloning this repository and building on what we include in the `app` directory. You will want to checkout `index.html` (the default starting point, slide-out menu), 'alt-layout.html' (if you prefer a horizontal nav) or `basic.html` (no layout).
If you would like to use the optional tooling we provide:
2014-05-23 23:02:58 +04:00
```sh
# Install the gulp globally so you can run it in the terminal. Only need to to this once.
$ npm install --global gulp
# Install the local dependencies from package.json (requires Node)
$ npm install
2014-05-23 23:02:58 +04:00
# Build the current project
$ gulp
# Watch files / LiveReload / Cross-device sync
$ gulp watch
# Run the deployed version of your app against PageSpeed
$ gulp pagespeed
```
2014-04-16 18:12:57 +04:00
2014-06-06 14:53:27 +04:00
## Requirements
In addition to requiring [Node](http://nodejs.org), [Ruby](https://www.ruby-lang.org/) and the [Sass gem](http://sass-lang.com/install) are also required.
2014-05-16 13:59:52 +04:00
## What performance requirements does Web Starter Kit have?
Web Starter Kit will be striving to ship with a 60fps experience and a PageSpeed score of 100 out of the box.
2014-04-16 18:12:57 +04:00
We intend to give developers a high performance starting point for multi-device development, paying close attention to this requirement when deciding on the libraries and tools we prescribe. We will be employing use of PageSpeed Insights and the Chromium Telemetry tools for helping us stay on top of this.