Giter VIP home page Giter VIP logo

polymer-core-and-paper-examples's Introduction

Polymer core and paper elements examples

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

Running examples

The core examples are available here and the paper examples are available here.

Building 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.

polymer-core-and-paper-examples's People

Contributors

domesticmouse avatar jakemac53 avatar kevmoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

polymer-core-and-paper-examples's Issues

core_list_dart/basic.html does not render, missing basic.html_bootstrap.dart.js

REPRO:

git clone ...
pub get
pub build
pub serve

open chrome and nav to http://localhost:8080
select link "http://localhost:8080/core_list_dart/basic.html"
wait... chrome browser displays nothing

server log is:

[web] GET /core_list_dart/basic.html → polymer_core_and_paper_examples|web/core_list_dart/basic.html
[web] GET /core_list_dart/packages/web_components/webcomponents.js → web_components|lib/webcomponents.js
[web] GET /core_list_dart/packages/polymer/src/build/log_injector.css → polymer|lib/src/build/log_injector.css
[web] GET /packages/polymer/src/js/polymer/polymer.min.js → polymer|lib/src/js/polymer/polymer.min.js
[web] GET /core_list_dart/packages/web_components/dart_support.js → web_components|lib/dart_support.js
[web] GET /packages/web_components/interop_support.js → web_components|lib/interop_support.js
[web] GET /packages/polymer/polymer.html.0.js → polymer|lib/polymer.html.0.js
[web] GET /packages/core_elements/src/core-selection/core-selection.html.0.js → core_elements|lib/src/core-selection/core-selection.html.0.js
[web] GET /packages/core_elements/src/polymer/polymer.html.0.js → core_elements|lib/src/polymer/polymer.html.0.js
[web] GET /core_list_dart/basic.html_bootstrap.dart → polymer_core_and_paper_examples|web/core_list_dart/basic.html_bootstrap.dart
[web] GET /core_list_dart/packages/browser/dart.js → browser|lib/dart.js
[web] GET /core_list_dart/basic.html_bootstrap.dart.js → Could not find asset polymer_core_and_paper_examples|web/core_list_dart/basic.html_bootstrap.dart.js.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.