Last active
May 3, 2020 23:49
-
-
Save ryanbelke/76fd9f9a9a339022d827ea31796e4326 to your computer and use it in GitHub Desktop.
_app.js without Container component
This file contains hidden or 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
| /* _app.js */ | |
| import React from "react"; | |
| import App from "next/app"; | |
| import Head from "next/head"; | |
| export default class MyApp extends App { | |
| render() { | |
| const { Component, pageProps } = this.props; | |
| return ( | |
| <> | |
| <Head> | |
| <link | |
| rel="stylesheet" | |
| href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" | |
| integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" | |
| crossOrigin="anonymous" | |
| /> | |
| </Head> | |
| <Component {...pageProps} /> | |
| </> | |
| ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment