Skip to content

Commit 53ad6e8

Browse files
committed
another attempt
1 parent 7453f68 commit 53ad6e8

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

exampleDist/assets/index-rqLGU3r-.js renamed to exampleDist/assets/index-xSTDjhsN.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

exampleDist/index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
65
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
76
<title>React custom scroll demo</title>
8-
<script type="module" crossorigin src="/assets/index-rqLGU3r-.js"></script>
9-
<link rel="stylesheet" crossorigin href="/assets/index-dq_QFCS8.css">
7+
<script type="module" crossorigin src="/exampleDist/assets/index-xSTDjhsN.js"></script>
8+
<link rel="stylesheet" crossorigin href="/exampleDist/assets/index-dq_QFCS8.css">
109
</head>
1110
<body>
1211
<div id="root"></div>

exampleDist/vite.svg

+1
Loading

index.html

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
65
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
76
<title>React custom scroll demo</title>
87
</head>

vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineConfig(({ mode }) => {
1010
return {
1111
plugins: [react()],
1212
build: { outDir: "exampleDist" },
13-
publicDir: "exampleDist",
13+
base: "exampleDist",
1414
};
1515
}
1616

0 commit comments

Comments
 (0)