/critical-css-weather-app

Critical-path CSS optimized weather app

Primary LanguageJavaScript

Weather App

A simple app built with angular, underscore and gulp to query weather information for the top 100 US cities.

The application makes use of the Open Weather API. It's forked from this original implementation with additions to add critical-path CSS optimisation, ng-annotations and other minor fixes.

Live demos of both a normal build and critical-css optimized build are both available.

Before:

After:

Installation

  • cd into the project directory and run npm install
  • Then run gulp
  • Open a browser at localhost:8080.

Usage

Normal build:

$ gulp build

Build with critical-path CSS:

$ gulp critical