/
githubmirror
/
tailwindcss
Обзор
Документация
Войти
/
githubmirror
/
tailwindcss
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
playgrounds/v3/app/layout.tsx
23 строки
574 B
Adam Wathan
Register `migrateImport` to ensure it actually runs (#14769)
24 окт 2024, 18:00
Не верифицирован
24 окт 2024, 18:00
39cfcfa
Код
Авторство
О чём код?
import type { Metadata } from 'next' import { Inter } from 'next/font/google' import './globals.css' const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { title: 'Create Next App', description: 'Generated by create next app', } export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode }>) { return ( <html lang="en" className="[&_h1]:font-thin"> <head>{/* <script src="https://cdn.tailwindcss.com"></script> */}</head> <body className={inter.className}>{children}</body> </html> ) }