1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/head-elements/pages/index.js

15 lines
320 B
JavaScript
Raw Normal View History

2016-10-16 04:31:05 +00:00
import React from 'react'
import Head from 'next/head'
export default () => (
<div>
<Head>
<title>This page has a title 🤔</title>
<meta charSet='utf-8' />
<meta name='viewport' content='initial-scale=1.0, width=device-width' />
2016-10-16 04:31:05 +00:00
</Head>
<h1>This page has a title 🤔</h1>
</div>
)