Last active
May 7, 2019 08:36
-
-
Save frankzickert/10ab8c9a793934f3ebbd3d8efb096f8a to your computer and use it in GitHub Desktop.
A simple SinglePageApp
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
/** src/index.tsx */ | |
import * as React from 'react'; | |
import { | |
Environment, | |
Route, | |
SinglePageApp | |
} from "infrastructure-components"; | |
export default ( | |
<SinglePageApp | |
stackName = "example" | |
buildPath = 'build' | |
region='us-east-1'> | |
<Environment | |
name="prod" | |
domain="www.infrastructure-components.com" | |
/> | |
<Route | |
path='/' | |
name='Infrastructure-Components' | |
render={ (props)=> ( | |
<div>Hello Infrastructure-Components!</div> | |
)} | |
/> | |
</SinglePageApp>); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment