65aaffcfe4
Previously, the `SwPush` API docs were using hard-coded code snippets. This commit switches to using code snippets from an actual example app, which ensures that the code shown in the docs will at least continue to compile successfully. PR Close #32139 |
||
---|---|---|
.. | ||
common | ||
compiler | ||
core | ||
forms | ||
http | ||
platform-browser | ||
router/activated-route | ||
service-worker | ||
test-utils | ||
testing | ||
upgrade | ||
BUILD.bazel | ||
README.md | ||
index.html | ||
tsconfig-e2e.json |
README.md
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.
Running the examples
# Serving individual examples (e.g. common)
yarn bazel run //packages/examples/common:devserver
# "core" examples
yarn bazel run //packages/examples/core:devserver
Running the tests
yarn bazel test //packages/examples/...