angular-docs-cn/aio/content
Pete Bacon Darwin 34b74cecb6 build(docs-infra): add a tool to create new examples (#39283)
This tool can be run from anywhere in the aio folder as:

```sh
yarn create-example <example-name>
```

It will create some basic scaffold files to get the example started.
After creation the developer should then use `yarn boilerplate:add`
or similar to ensure that the example can be run and tested.

You can optionally provide an absolute path to a pre-existing CLI
project and it will copy over appropriate files (ignoring boilerplate)
to the newly created example.

```sh
yarn create-example <example-name> /path/to/other/cli/project
```

Fixes #39275

PR Close #39283
2020-10-16 08:14:38 -07:00
..
cli docs: remove all references to Angular Console (#37608) 2020-07-15 12:30:59 -07:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
examples build(docs-infra): add a tool to create new examples (#39283) 2020-10-16 08:14:38 -07:00
guide docs: Very minor spelling mistake (#39299) 2020-10-15 17:00:18 -07:00
images docs: update marketing home loved-by-millions svg (#39105) 2020-10-14 14:09:26 -07:00
marketing updated sajee's profile (#39019) 2020-10-13 14:59:03 -07:00
start docs: Update titles to getting started topics (#38887) 2020-09-21 16:30:35 -07:00
tutorial docs: delete one superfluous sentence (#38339) 2020-08-12 08:23:18 -07:00
file-not-found.md fix(docs-infra): do not create an anchor for the `file-not-found` header (#27250) 2018-12-05 13:26:26 -08:00
license.md build: bump year (#34651) 2020-01-13 07:21:43 -08:00
navigation.json docs: Move pipes documentation from Components to Templates (#38983) 2020-10-15 14:07:28 -07:00