未验证 提交 c6ff9187 编写于 作者: J Joe Haddad 提交者: GitHub

Update no-document-viewport-meta.md

上级 f3eadac4
......@@ -9,9 +9,8 @@ The viewport tag should be handled by `next/head` in `pages/_app.js`.
Set your viewport `meta` tag in `pages/_app.js` instead:
```jsx
```tsx
// pages/_app.js
import React from 'react'
import Head from 'next/head'
function MyApp({ Component, pageProps }) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册