Skip to content

Commit b4bc2e8

Browse files
Link react tutorials
1 parent ca71647 commit b4bc2e8

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

_data/navigation.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ tutorial_ng2:
4343
- title: "Hello Galaxy!"
4444
url: /tutorial/ng2/hellogalaxy
4545

46+
tutorial_react:
47+
- title: "Tutorial - React"
48+
children:
49+
- title: "Hello World!"
50+
url: /tutorial/react/helloworld
51+
- title: "Hello Solar System!"
52+
url: /tutorial/react/hellosolarsystem
53+
- title: "Hello Galaxy!"
54+
url: /tutorial/react/hellogalaxy
55+
4656
guide:
4757
- title: "Guide"
4858
children:

_tutorial_react/hellogalaxy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: "UI-Router for React - Hello Galaxy!"
33
excerpt: "Learn about Nested States and Nested Views"
4+
layout: single
5+
sitemap: true
46
---
57
{% include toc icon="columns" title="Hello Galaxy!" %}
68

_tutorial_react/hellosolarsystem.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: "UI-Router for React - Hello Solar System!"
33
excerpt: "Learn about parameters and resolve data"
4+
layout: single
5+
sitemap: true
46
---
57
{% include toc icon="columns" title="Hello Solar System!" %}
68

_tutorial_react/helloworld.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "UI-Router for React - Hello World!"
3-
layout: single
43
excerpt: "Getting started with UI-Router for React"
4+
layout: single
55
sitemap: true
66
---
77

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"watch:all": "npm-run-all --parallel watch:css watch:js",
3838
"build:css": "npm run scss && npm run autoprefixer",
3939
"build:js": "npm run uglify",
40-
"build:all": "npm run build:css && build:js"
40+
"build:all": "npm run build:css && build:js",
41+
"start": "npm run watch:all & jekyll serve"
4142
}
4243
}

0 commit comments

Comments
 (0)