Skip to content

Instantly share code, notes, and snippets.

@kayode-adechinan
Last active June 17, 2019 08:50
Show Gist options
  • Save kayode-adechinan/705218c6397809d1c9c36612bae9e484 to your computer and use it in GitHub Desktop.
Save kayode-adechinan/705218c6397809d1c9c36612bae9e484 to your computer and use it in GitHub Desktop.
// .pages/_document.js
import Document, { Head, Main, NextScript } from "next/document";
export default class MyDocument extends Document {
render() {
return (
<html>
<Head />
<body>
<Main />
<NextScript />
<script src="https://code.jquery.com/jquery-3.4.1.min.js" async />
</body>
</html>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment