dart-lang/angular_components_example

Name: angular_components_example

Owner: Dart

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

Created: 2016-10-18 15:52:45.0

Updated: 2018-05-21 20:24:30.0

Pushed: 2018-05-21 20:34:20.0

Homepage: https://dart-lang.github.io/angular_components_example/

Size: 49513

Language: Dart

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

These packages provide code generation for the AngularDart Components gallery.

This is repo now contains the initial release of two new experimental code generating packages.

angular_gallery

A package that generates a the gallery from each page that is generated by the angular_gallery_section package.

angular_gallery_section

A package that generates a gallery page containing documentation and examples from a @GallerySectionConfig annotation.

example

Contains individual examples for all the components as well as the base package of the entire gallery example/angular_components_example.

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 entire gallery from the example/angular_components_example directory.

run build_runner build --output <output directory>
Serve

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

run build_runner serve web

Both of the build and serve commands will accept --release to build with dart2js instead of the the default dartdevc.

Known Issues:

When building and viewing the gallery these issues are expected at this time:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.