This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- stage: Build | |
pool: | |
vmImage: ubuntu-latest | |
demands: | |
- npm | |
jobs: | |
- job: BuildProject | |
displayName: Build Project | |
variables: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Document, { Html, Head, Main, NextScript, DocumentContext } from 'next/document' | |
class MyDocument extends Document { | |
static async getInitialProps(ctx: DocumentContext) { | |
const initialProps = await Document.getInitialProps(ctx) | |
return { ...initialProps } | |
} | |
render() { | |
return ( |