/angular_components_example

A sample usage of https://github.com/dart-lang/angular_components

Primary LanguageDartBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

This is a basic gallery of the various AngularDart Components.

For a walk-through of how to use these components, see Code Lab: AngularDart Components.

Development

As of angular: 5.0.0-alpha+5 the pub transformer has been removed in favor of code generation through package build. This package must be built with package build_runner.

Build

Build the package to the given directory.

pub run build_runner build --output <output directory>

Serve

Run a local development server with a file watcher and incremental rebuilds:

pub run build_runner serve

Both of the build and serve commands can use --config release to build with dart2js instead of the the default dartdevc.

Test

Run dart tool/sanity_check.dart to execute a simple Selenium test of the gallery.