Add support for custom css files
This commit is contained in:
parent
a954a546f4
commit
2d1bad3fde
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
const withCSS = require('@zeit/next-css')
|
||||
module.exports = withCSS()
|
||||
|
|
@ -13,6 +13,7 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@zeit/next-css": "^1.0.1",
|
||||
"express": "^4.16.4",
|
||||
"next": "^7.0.2",
|
||||
"react": "^16.6.1",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import Head from 'next/head'
|
||||
import "../style.css"
|
||||
|
||||
class TournamentPage extends React.Component {
|
||||
|
||||
|
|
@ -12,7 +13,7 @@ class TournamentPage extends React.Component {
|
|||
<Head>
|
||||
<title>Turnie.re - Turnieranzeige</title>
|
||||
</Head>
|
||||
<p>Turnieranzeige</p>
|
||||
<p className="example">Turnieranzeige</p>
|
||||
<p>Code: {this.props.query.code}</p>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue