Dart Web Components let you build web apps as if you had a browser from the future. You can use the cool new web technologies like Web Components, Model Driven Views and Dart today. Build apps easily using HTML as your template language, express your application's components in HTML, and synchronize your data automatically between Dart and your components.
We believe that:
Learn more at http://www.dartlang.org/articles/dart-web-components/.
See our TodoMVC example running. Read the README.md in
example/todomvc for more details.
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 `DumpRenderTree` (see below
# for links to download `DumpRenderTree`)
test/run.sh
Note: to run browser tests you will need to have DumpRenderTree, which can be downloaded prebuilt for Ubuntu Lucid, Windows, or Mac. You can also build it from the Dartium and DRT sources.
Add this to your package's pubspec.yaml file:
dependencies: web_components: 0.2.8+5
If your package is an
application package you should use any
as the
version constraint.
If you're using the Dart Editor, choose:
Menu > Tools > Pub Install
Or if you want to install from the command line, run:
$ pub install
Now in your Dart code, you can use:
import 'package:web_components/ web_components.dart';
| Version | Uploaded | Archive |
|---|---|---|
| 0.2.8+5 | Dec 07, 2012 | Download web_components 0.2.8+5 archive |
| 0.2.8+4 | Dec 07, 2012 | Download web_components 0.2.8+4 archive |
| 0.2.8+3 | Dec 01, 2012 | Download web_components 0.2.8+3 archive |
| 0.2.8+2 | Dec 01, 2012 | Download web_components 0.2.8+2 archive |
| 0.2.8+1 | Nov 30, 2012 | Download web_components 0.2.8+1 archive |
| 0.2.8 | Nov 30, 2012 | Download web_components 0.2.8 archive |
| 0.2.7 | Nov 26, 2012 | Download web_components 0.2.7 archive |
| 0.2.6+1 | Nov 16, 2012 | Download web_components 0.2.6+1 archive |
| 0.2.6 | Nov 16, 2012 | Download web_components 0.2.6 archive |
| 0.2.5+5 | Nov 14, 2012 | Download web_components 0.2.5+5 archive |