2019-02-01 14:27:13 +01:00
|
|
|
## How to serve the examples
|
2016-06-30 13:07:17 -07:00
|
|
|
|
2019-02-01 14:27:13 +01:00
|
|
|
All playground examples are built and served with Bazel. Below is an example that
|
|
|
|
|
demonstrates how a specific example can be built and served with Bazel:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# e.g. src/zippy_component
|
|
|
|
|
yarn bazel run modules/playground/src/zippy_component:devserver
|
|
|
|
|
|
|
|
|
|
# e.g. src/upgrade
|
|
|
|
|
yarn bazel run modules/playground/src/upgrade:devserver
|
2017-08-03 12:33:29 -07:00
|
|
|
```
|