chore(create-next-app): update empty templates (#65620)
## Why? - Remove `favicon.ico` from empty templates - Update Index pages in `default-empty` templates to be the same as the `app-empty` templates - x-ref: https://github.com/vercel/next.js/pull/65532
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 25 KiB |
|
@ -7,10 +7,9 @@ export default function Home() {
|
|||
<title>Create Next App</title>
|
||||
<meta name="description" content="Generated by create next app" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</Head>
|
||||
<main>
|
||||
<div>Hello World!</div>
|
||||
<div>Hello world!</div>
|
||||
</main>
|
||||
</>
|
||||
);
|
||||
|
|
Before Width: | Height: | Size: 25 KiB |
|
@ -7,7 +7,6 @@ export default function Home() {
|
|||
<title>Create Next App</title>
|
||||
<meta name="description" content="Generated by create next app" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</Head>
|
||||
<main>
|
||||
<div>Hello world!</div>
|
||||
|
|
Before Width: | Height: | Size: 25 KiB |
|
@ -1,7 +1,16 @@
|
|||
import Head from "next/head";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<div>Hello world!</div>
|
||||
</main>
|
||||
<>
|
||||
<Head>
|
||||
<title>Create Next App</title>
|
||||
<meta name="description" content="Generated by create next app" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</Head>
|
||||
<main>
|
||||
<div>Hello world!</div>
|
||||
</main>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 25 KiB |
|
@ -1,7 +1,16 @@
|
|||
import Head from "next/head";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<div>Hello world!</div>
|
||||
</main>
|
||||
<>
|
||||
<Head>
|
||||
<title>Create Next App</title>
|
||||
<meta name="description" content="Generated by create next app" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</Head>
|
||||
<main>
|
||||
<div>Hello world!</div>
|
||||
</main>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 25 KiB |