Skip to content

marcedem/polymer-core-and-paper-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polymer core and paper elements examples

This repo contains examples for the core and paper polymer elements.

Running examples

If you download or fork the repo from https://github.com/dart-lang/polymer-core-and-paper-examples, then you can use the pub command to run demos.

If you only want to run a few examples, then you can edit pubspec.yaml and add them to the entry_points list. This will greatly reduce your build times.

To run a demo:

  1. From the top directory, use the pub serve command.

  2. In a browser, visit http://localhost:8080/element_name.html).

    Note that you use an underscore (_) instead of the dash (-) in the element name. For example, to see the core-icons demo, browse to http://localhost:8080/core_icons.html.

    For a full list of demos, you can just visit the index.html.

To create a deployable build of one or more demos:

  1. From the top directory, use the pub build command:

    pub build

  2. Copy the files from the resulting build directory to where you want to serve the files.

Note: Building the demos might take a few minutes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%