Skip to content

Commit efefed5

Browse files
nielslyngsoegitbook-bot
authored andcommitted
GITBOOK-18: Updates to Examples and Playgrounds
1 parent 7112b55 commit efefed5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

16/umbraco-cms/examples-and-playground.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,18 @@ description: Practical examples and hands-on experience are good ways to learn.
66

77
The Umbraco CMS codebase comes with a set of customization examples and a way to run them using a local front-end server. This setup enables you to change the code and review the effects instantly by refreshing your browser.
88

9+
[Browse the available examples in the Umbraco CMS Repository](https://github.com/umbraco/Umbraco-CMS/tree/main/src/Umbraco.Web.UI.Client/examples).
10+
911
## Get Started
1012

1113
1. Clone the source code from [https://github.com/umbraco/Umbraco-CMS/](https://github.com/umbraco/Umbraco-CMS/).
1214
2. Make sure you have **npm** installed.
1315
3. Open a terminal and navigate to `src/Umbraco.Web.UI.Client` .
1416
4. Run the command: `npm install` .
15-
5. Start a local server running one of the examples: `npm run example` .
17+
18+
### Run an Example
19+
20+
Start a local server and run one of the examples: `npm run example` .
1621

1722
### Create a playground
1823

@@ -22,4 +27,5 @@ To create a new example, follow these steps:
2227

2328
1. Create a new folder with a name of your choice in the `examples/` folder.
2429
2. Add an `index.ts` file that exports an array of manifests as the default export (See the other examples if in doubt).
30+
3. Run your example using the command listed above in [Run an example](examples-and-playground.md#run-an-example).
2531

0 commit comments

Comments
 (0)