import React from 'react' ; import Document , { DocumentContext , DocumentInitialProps } from 'next/document' ; class MyDocument extends Document { static getInitialProps ( ctx ) { return Document . getInitialProps ( ctx ) ; } render ( ) { return < div > Blank Document < /div>; } } export default MyDocument ;