Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
4b3967fa
Unverified
Commit
4b3967fa
authored
Apr 18, 2020
by
Francisco Pizarro
Committed by
GitHub
Apr 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/with-react-helmet: upgrade react-helmet to v6.0.0 (#12000)
parent
ec3f8e58
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
package.json
examples/with-react-helmet/package.json
+1
-1
_app.js
examples/with-react-helmet/pages/_app.js
+1
-1
_document.js
examples/with-react-helmet/pages/_document.js
+1
-1
about.js
examples/with-react-helmet/pages/about.js
+1
-1
No files found.
examples/with-react-helmet/package.json
View file @
4b3967fa
...
@@ -11,6 +11,6 @@
...
@@ -11,6 +11,6 @@
"next"
:
"latest"
,
"next"
:
"latest"
,
"react"
:
"^16.7.0"
,
"react"
:
"^16.7.0"
,
"react-dom"
:
"^16.7.0"
,
"react-dom"
:
"^16.7.0"
,
"react-helmet"
:
"^
5.1.3
"
"react-helmet"
:
"^
6.0.0
"
}
}
}
}
examples/with-react-helmet/pages/_app.js
View file @
4b3967fa
import
React
from
'react'
import
React
from
'react'
import
Helmet
from
'react-helmet'
import
{
Helmet
}
from
'react-helmet'
function
MyApp
({
Component
,
pageProps
})
{
function
MyApp
({
Component
,
pageProps
})
{
return
(
return
(
...
...
examples/with-react-helmet/pages/_document.js
View file @
4b3967fa
import
Document
,
{
Head
,
Main
,
NextScript
}
from
'next/document'
import
Document
,
{
Head
,
Main
,
NextScript
}
from
'next/document'
import
Helmet
from
'react-helmet'
import
{
Helmet
}
from
'react-helmet'
export
default
class
extends
Document
{
export
default
class
extends
Document
{
static
async
getInitialProps
(...
args
)
{
static
async
getInitialProps
(...
args
)
{
...
...
examples/with-react-helmet/pages/about.js
View file @
4b3967fa
import
React
from
'react'
import
React
from
'react'
import
Helmet
from
'react-helmet'
import
{
Helmet
}
from
'react-helmet'
export
default
function
About
()
{
export
default
function
About
()
{
return
(
return
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment