Skip to content

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

Notifications You must be signed in to change notification settings

jlengrand/polymer-summit-whose-flag-polymer-3

Repository files navigation

<whose-flag on Polymer 3>

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.

You can find the original codelab instructions here, a similar repository on Polymer 2 here and a working demo here.

Install the Polymer-CLI

First, make sure you have the 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. 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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published