зеркало из https://github.com/microsoft/mindaro.git
upgrade version of 'next' package to v11.1.4 and fix code
This commit is contained in:
Родитель
11ec11d82f
Коммит
28e9f9b2de
|
@ -1,2 +1,4 @@
|
|||
const withCSS = require('@zeit/next-css')
|
||||
module.exports = withCSS()
|
||||
module.exports = withCSS({
|
||||
webpack5: false,
|
||||
})
|
|
@ -2,7 +2,8 @@
|
|||
"name": "todo-frontend",
|
||||
"version": "1.0.0",
|
||||
"devDependencies": {
|
||||
"nodemon": "^2.0.4"
|
||||
"nodemon": "^2.0.4",
|
||||
"webpack": "^4.46.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@zeit/next-css": "^1.0.1",
|
||||
|
@ -11,7 +12,7 @@
|
|||
"express": "^4.17.1",
|
||||
"isomorphic-fetch": "^3.0.0",
|
||||
"mongodb": "^3.5.8",
|
||||
"next": "^10.2.3",
|
||||
"next": "^11.1.4",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"request": "^2.88.2",
|
||||
|
|
|
@ -17,12 +17,12 @@ export default class MyApp extends App {
|
|||
const { Component, pageProps } = this.props;
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<div>
|
||||
<Head>
|
||||
<title>Todo App Sample</title>
|
||||
</Head>
|
||||
<Component {...pageProps} />
|
||||
</Container>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче