Unverified Commit ccc269a5 authored by Aryan Malik's avatar Aryan Malik Committed by GitHub

Update 01-installation.mdx (#53192)

Added switcher on `page/_document.tsx` example just for a consistency 
parent 4cb14b51
...@@ -159,7 +159,7 @@ export default function App({ Component, pageProps }) { ...@@ -159,7 +159,7 @@ export default function App({ Component, pageProps }) {
Finally, add a `_document.tsx` file inside `pages/` to control the initial response from the server. Learn more about the [custom Document file](/docs/pages/building-your-application/routing/custom-document). Finally, add a `_document.tsx` file inside `pages/` to control the initial response from the server. Learn more about the [custom Document file](/docs/pages/building-your-application/routing/custom-document).
```tsx filename="pages/_document.tsx" ```tsx filename="pages/_document.tsx" switcher
import { Html, Head, Main, NextScript } from 'next/document' import { Html, Head, Main, NextScript } from 'next/document'
export default function Document() { export default function Document() {
......
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