2015-10-30 11:31:26 -07: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-07 21:41:21 -08:00
|
|
|
|
|
|
|
# Running the examples
|
|
|
|
|
|
|
|
```
|
2019-01-28 21:59:25 +01:00
|
|
|
# Serving individual examples (e.g. common)
|
|
|
|
yarn bazel run //packages/examples/common:devserver
|
2016-12-07 21:41:21 -08:00
|
|
|
|
2019-01-28 21:59:25 +01:00
|
|
|
# "core" examples
|
|
|
|
yarn bazel run //packages/examples/core:devserver
|
2016-12-07 21:41:21 -08:00
|
|
|
```
|
|
|
|
|
|
|
|
# Running the tests
|
|
|
|
|
|
|
|
```
|
2019-01-28 21:59:25 +01:00
|
|
|
yarn bazel test //packages/examples/...
|
|
|
|
```
|