personal-site/pages/_document.js

18 lines
476 B
JavaScript
Raw Normal View History

2022-06-04 07:26:53 +00:00
import React from "react";
2022-06-03 16:36:24 +00:00
import { Html, Head, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html>
<Head>
{/* <script src="https://unpkg.com/@barba/core"></script> */}
<script src="/scripts/main.js" defer></script>
</Head>
<body className="bg-black">
<Main />
<NextScript />
</body>
</Html>
);
}