mirror of
https://github.com/Aviortheking/next-template.git
synced 2025-07-29 16:29:51 +00:00
first commit
This commit is contained in:
21
pages/_app.tsx
Normal file
21
pages/_app.tsx
Normal file
@ -0,0 +1,21 @@
|
||||
import App from 'next/app'
|
||||
import Head from 'next/head'
|
||||
import React from 'react'
|
||||
|
||||
import '../styl/index.styl'
|
||||
|
||||
export default class Index extends App {
|
||||
|
||||
public render() {
|
||||
const { Component, pageProps } = this.props
|
||||
|
||||
return(
|
||||
<>
|
||||
<Head>
|
||||
<title>Next Template Hello World !</title>
|
||||
</Head>
|
||||
<Component {...pageProps} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user