1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-portals/pages/_document.js
2017-12-02 18:02:22 +01:00

18 lines
347 B
JavaScript

import Document, { Head, Main, NextScript } from 'next/document'
export default class extends Document {
render () {
return (
<html>
<Head />
<body>
<Main />
{/* here we will mount our modal portal */}
<div id='modal' />
<NextScript />
</body>
</html>
)
}
}