-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74a7dd3
commit d6ab7d2
Showing
5 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "0.1.0", | ||
"command": "npm", | ||
"isShellCommand": true, | ||
"showOutput": "always", | ||
"suppressTaskName": true, | ||
"tasks": [ | ||
{ | ||
"taskName": "install", | ||
"args": ["install"] | ||
}, | ||
{ | ||
"taskName": "update", | ||
"args": ["update"] | ||
}, | ||
{ | ||
"taskName": "test", | ||
"args": ["run", "test"] | ||
}, | ||
{ | ||
"taskName": "dev", | ||
"args": ["run", "dev"], | ||
"isBuildCommand": true, | ||
"isBackground": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "zeit-next-demo", | ||
"version": "1.0.0", | ||
"description": "Server Side Rendering with Zeit Next", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/rickbeerendonk/react-examples.git" | ||
}, | ||
"author": "Rick Beerendonk", | ||
"license": "MPL-2.0", | ||
"dependencies": { | ||
"next": "^1.2.3" | ||
}, | ||
"scripts": { | ||
"dev": "next" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import React from 'react' | ||
|
||
export default ({text}) => <i>{text}</i> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import React from 'react'; | ||
import MyText from './MyText.js'; | ||
|
||
export default () => <h1>Hello <MyText text="world" />!</h1> |