Created
September 21, 2019 10:29
-
-
Save abedzantout/cc4cefe561ec764b9778dc9c3630bacc to your computer and use it in GitHub Desktop.
initial index.tsx
This file contains hidden or 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
| import React from 'react'; | |
| import { NextPage } from 'next'; | |
| type Props = {} | |
| const IndexPage: NextPage = (props: Props) => { | |
| return (<div>Hello World!</div>) | |
| }; | |
| IndexPage.getInitialProps = async ({query}) => { | |
| return {}; | |
| }; | |
| export default IndexPage; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment