mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
adc413b3fb
This adds an `--experimental-https` flag to `next dev` which will generate a self-signed certificate via [mkcert](https://github.com/FiloSottile/mkcert) and use it for the dev server. also supports passing in pre-existing certs via `--experimental-https-cert` and `--experimental-https-key` x-ref: https://github.com/vercel/next.js/discussions/33768 https://github.com/vercel/next.js/discussions/10935
13 lines
219 B
JavaScript
13 lines
219 B
JavaScript
export const metadata = {
|
|
title: 'Next.js',
|
|
description: 'Generated by Next.js',
|
|
}
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html lang="en">
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|