Commit b4e877c8 authored by Pojen Chen's avatar Pojen Chen Committed by Tim Neutkens

Remove <link ...style.css"> from Head in _document (#5887)

parent af07611a
/*
In production the stylesheet is compiled to .next/static/style.css.
The file will be served from /_next/static/style.css
You could include it into the page using either next/head or a custom _document.js.
*/
import Document, { Head, Main, NextScript } from 'next/document'
export default class MyDocument extends Document {
render () {
return (
<html>
<Head>
<link
rel='stylesheet'
href='/_next/static/style.css'
/>
</Head>
<Head />
<body>
<Main />
<NextScript />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment