Skip to content

Commit 1a714f1

Browse files
fix(router-generator): html files per bundler (#2494)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent ecd9a17 commit 1a714f1

3 files changed

Lines changed: 28 additions & 1 deletion

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>TanStack Router</title>
7+
<script src="https://cdn.tailwindcss.com"></script>
8+
</head>
9+
10+
<body>
11+
<div id="app"></div>
12+
</body>
13+
</html>

packages/create-router/templates/core/index.html renamed to packages/create-router/templates/bundler/vite/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6-
<title>Vite App</title>
6+
<title>TanStack Router</title>
77
<script src="https://cdn.tailwindcss.com"></script>
88
<style type="text/tailwindcss">
99
html {
@@ -17,6 +17,7 @@
1717
}
1818
</style>
1919
</head>
20+
2021
<body>
2122
<div id="app"></div>
2223
<script type="module" src="/src/main.tsx"></script>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>TanStack Router</title>
7+
<script src="https://cdn.tailwindcss.com"></script>
8+
</head>
9+
10+
<body>
11+
<div id="app"></div>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)