2015-10-30 14:31:26 -04:00
|
|
|
# API Examples
|
|
|
|
|
|
|
|
This folder contains small example apps that get in-lined into our API docs.
|
|
|
|
Each example contains tests for application behavior (as opposed to testing Angular's
|
|
|
|
behavior) just like an Angular application developer would write.
|
2016-12-08 00:41:21 -05:00
|
|
|
|
|
|
|
# Running the examples
|
|
|
|
|
|
|
|
```
|
2019-01-28 15:59:25 -05:00
|
|
|
# Serving individual examples (e.g. common)
|
|
|
|
yarn bazel run //packages/examples/common:devserver
|
2016-12-08 00:41:21 -05:00
|
|
|
|
2019-01-28 15:59:25 -05:00
|
|
|
# "core" examples
|
|
|
|
yarn bazel run //packages/examples/core:devserver
|
2016-12-08 00:41:21 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
# Running the tests
|
|
|
|
|
|
|
|
```
|
2019-01-28 15:59:25 -05:00
|
|
|
yarn bazel test //packages/examples/...
|
|
|
|
```
|