Last active
June 16, 2018 09:46
-
-
Save remy/391923f938629436d671456d3e1234b7 to your computer and use it in GitHub Desktop.
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
// pages/index.js | |
const Page = props => <pre>{JSON.stringify(props, '', 2)}</pre>; | |
export default Page; |
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
const webpack = require('webpack'); | |
module.exports = { | |
exportPathMap: async function() { | |
return { | |
'/': { page: '/' }, | |
}; | |
}, | |
}; |
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
{ | |
"name": "next6-queries", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"dependencies": { | |
"express": "^4.16.3", | |
"next": "^6.0.3", | |
"react": "^16.4.1", | |
"react-dom": "^16.4.1" | |
}, | |
"devDependencies": {}, | |
"now": { | |
"files": ["pages", "next.config.js"] | |
}, | |
"scripts": { | |
"dev": "next", | |
"start": "next" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment