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": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@zeit/next-css": "^1.0.1",
|
||||||
"express": "^4.16.4",
|
"express": "^4.16.4",
|
||||||
"next": "^7.0.2",
|
"next": "^7.0.2",
|
||||||
"react": "^16.6.1",
|
"react": "^16.6.1",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import Head from 'next/head'
|
import Head from 'next/head'
|
||||||
|
import "../style.css"
|
||||||
|
|
||||||
class TournamentPage extends React.Component {
|
class TournamentPage extends React.Component {
|
||||||
|
|
||||||
|
|
@ -12,7 +13,7 @@ class TournamentPage extends React.Component {
|
||||||
<Head>
|
<Head>
|
||||||
<title>Turnie.re - Turnieranzeige</title>
|
<title>Turnie.re - Turnieranzeige</title>
|
||||||
</Head>
|
</Head>
|
||||||
<p>Turnieranzeige</p>
|
<p className="example">Turnieranzeige</p>
|
||||||
<p>Code: {this.props.query.code}</p>
|
<p>Code: {this.props.query.code}</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue