Skip to content

Commit 4bace77

Browse files
authored
fix: css link in Vite installation dist -> src (#2068)
It should be `src` instead of `dist` After building with `vite build`, the output in `dist/` might look like: `<link href="/assets/styles-abc123.css" rel="stylesheet">` Thanks for the new v4 release, it works like a charm! 🔥
1 parent 4d25bc4 commit 4bace77

File tree

1 file changed

+1
-1
lines changed
  • src/app/(docs)/docs/installation/(tabs)/using-vite

1 file changed

+1
-1
lines changed

src/app/(docs)/docs/installation/(tabs)/using-vite/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const steps: Step[] = [
106106
<meta charset="UTF-8">
107107
<meta name="viewport" content="width=device-width, initial-scale=1.0">
108108
<!-- [!code highlight:2] -->
109-
<link href="/dist/styles.css" rel="stylesheet">
109+
<link href="/src/styles.css" rel="stylesheet">
110110
</head>
111111
<body>
112112
<!-- [!code highlight:4] -->

0 commit comments

Comments
 (0)