tree: f8a168404eeab8e1d8e58cfa9f2f662ea8b67538 [path history] [tgz]
  1. bin/
  2. example/
  3. lib/
  4. test/
  5. build.dart
  6. pubspec.yaml
  7. README.md
pkg/polymer/README.md

Polymer.dart

Polymer is a new type of library for the web, built on top of Web Components, and designed to leverage the evolving web platform on modern browsers.

Polymer.dart is a Dart port of Polymer created and maintained by the Dart team. The Dart team is collaborating with the Polymer team to ensure that polymer.dart elements and polyfills are fully compatible with Polymer.

For more information about Polymer, see http://www.polymer-project.org/. For more information about Dart, see http://www.dartlang.org/.

Try It Now

Add the polymer.dart package to your pubspec.yaml file:

dependencies:
  polymer: any

Instead of using any, we recommend using version ranges to avoid getting your project broken on each release. Using a version range lets you upgrade your package at your own pace. You can find the latest version number at https://pub.dartlang.org/packages/polymer.

Learn More

Note: these documents are currently out of date.

See our TodoMVC example by opening up the Dart Editor's Welcome Page and selecting “TodoMVC”.

Running Tests

Dependencies are installed using the Pub Package Manager.

pub install

# Run command line tests and automated end-to-end tests. It needs two
# executables on your path: `dart` and `content_shell` (see below
# for links to download `content_shell`)
test/run.sh

Note: to run browser tests you will need to have content_shell, which can be downloaded prebuilt for Ubuntu Lucid, Windows, or Mac. You can also build it from the Dartium and content_shell sources.

For Linux users all the necessary fonts must be installed see https://code.google.com/p/chromium/wiki/LayoutTestsLinux.

Contacting Us

Please file issues in our Issue Tracker or contact us on the Dart Web UI mailing list.

We also have the Web UI development list for discussions about internals of the code, code reviews, etc.