An open API service indexing awesome lists of open source software.

https://github.com/jlengrand/polymer-summit-whose-flag-polymer-3

First codelab from Polymer Summit 2017 - Whose flags - Converted to Polymer 3
https://github.com/jlengrand/polymer-summit-whose-flag-polymer-3

polymer polymer-3 polymer-summit

Last synced: about 2 months ago
JSON representation

First codelab from Polymer Summit 2017 - Whose flags - Converted to Polymer 3

Awesome Lists containing this project

README

        

# \

This is a simple conversion from Whose Flag to Polymer 3. Whose Flag is a simple game that lets users guess a flag's country, that was created during [the first Polymer Summit 2017's codelab](https://codelabs.developers.google.com/polymer-summit-2017).

You can find the original codelab instructions [here](https://codelabs.developers.google.com/codelabs/whose-flag/index.html), [a similar repository on Polymer 2 here](https://github.com/jlengrand/polymer-summit-whose-flag) and [a working demo here](https://polymer-summit-2017-codelab-1.firebaseapp.com/).

## Install the Polymer-CLI

First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve --npm` to serve your application locally.

__Note the difference with the `polymer serve` instructions for Polymer 2__

## Viewing Your Application

```
$ polymer serve --npm
```

## Building Your Application

**WIP: Polymer build does not seem to be supported yet for Polymer 3.**

## Running Tests

**To be tested**

## Lit-HTML

The last version of this demo makes use of [lit-html](https://github.com/PolymerLabs/lit-html).
Lit-HTML allows to use HTML templates, via JavaScript template literals.

The template literal is properly highlighted using Atom. No extensions are available yet to highlight the literal with VSCode that I know of.