Skip to content

Instantly share code, notes, and snippets.

@remy
Last active June 16, 2018 09:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remy/391923f938629436d671456d3e1234b7 to your computer and use it in GitHub Desktop.
Save remy/391923f938629436d671456d3e1234b7 to your computer and use it in GitHub Desktop.
// pages/index.js
const Page = props => <pre>{JSON.stringify(props, '', 2)}</pre>;
export default Page;
const webpack = require('webpack');
module.exports = {
exportPathMap: async function() {
return {
'/': { page: '/' },
};
},
};
{
"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