angular/packages/examples
Andrew Scott f5a7e02529 docs(router): Update functional guard and resolver docs (#48873)
This commit updates the docs of the functional guards and resolvers to improve the migration
experience when moving away from class-based equivalents.

PR Close #48873
2023-02-02 13:39:32 -08:00
..
common refactor: switch packages/examples to ESM-compatible http server (#48521) 2022-12-19 19:50:44 +00:00
core refactor: switch packages/examples to ESM-compatible http server (#48521) 2022-12-19 19:50:44 +00:00
forms refactor: switch packages/examples to ESM-compatible http server (#48521) 2022-12-19 19:50:44 +00:00
http build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
platform-browser build(bazel): add bazel targets for aio doc generation 2022-11-22 13:51:16 -07:00
router docs(router): Update functional guard and resolver docs (#48873) 2023-02-02 13:39:32 -08:00
service-worker refactor: switch packages/examples to ESM-compatible http server (#48521) 2022-12-19 19:50:44 +00:00
test-utils build: remove remaining usages of deprecated ts_devserver (#48521) 2022-12-19 19:50:44 +00:00
testing build(bazel): add bazel targets for aio doc generation 2022-11-22 13:51:16 -07:00
upgrade refactor: switch packages/examples to ESM-compatible http server (#48521) 2022-12-19 19:50:44 +00:00
BUILD.bazel build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
index.html refactor: switch packages/examples to ESM-compatible http server (#48521) 2022-12-19 19:50:44 +00:00
README.md build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
tsconfig-e2e.json build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08: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.

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/...