Skip to content

Commit 9e4ee49

Browse files
committed
Move examples to individual directories
1 parent 4ba94f2 commit 9e4ee49

25 files changed

+38119
-8929
lines changed

README.md

+19-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,33 @@
11
# examples
22

3-
Examples using Forgo
3+
Examples using Forgo.
4+
5+
Three examples are available:
6+
7+
- Timer
8+
- Routing
9+
- Todos
410

511
# How to Run
612

13+
Go to the example directory you want:
14+
15+
```sh
16+
cd timer
17+
# OR
18+
cd todos
19+
# OR
20+
cd routing
21+
```
22+
723
Install dependencies first.
824

925
```sh
1026
npm install
1127
```
1228

13-
You should be able to run any of these demos after that.
29+
Run the demo.
1430

1531
```
16-
npm run start
17-
npm run start-todos
18-
npm run start-routing
32+
npm start
1933
```

package.json

-20
This file was deleted.

LICENSE routing/LICENSE

File renamed without changes.

0 commit comments

Comments
 (0)