File size: 483 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import Head from 'next/head'
import AnotherHead from 'next/head.js'
import { useRouter } from 'next/router'
import { useRouter as useRouter2 } from 'next/router.js'

export default function Page() {
  useRouter()
  useRouter2()
  return (
    <>
      <Head>
        <meta name="head-value-1" content="with-ext" />
      </Head>
      <AnotherHead>
        <meta name="head-value-2" content="without-ext" />
      </AnotherHead>
      <div className="root">pages</div>
    </>
  )
}