Skip to content

Commit 809b40d

Browse files
committed
fix: base url in vite config
1 parent 3177d9b commit 809b40d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

demo/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
77
<title>Testing Vue hook timer</title>
88
<script src="https://polyfill.io/v3/polyfill.min.js?features=default%2Ces2015"></script>
9-
9+
1010
<style>
1111

1212
</style>

demo/vite.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { resolve } from 'path'
66
// https://vitejs.dev/config/
77
export default defineConfig({
88
root: resolve(process.cwd(), 'demo'),
9+
base: '/vue-timer-hook/',
910
build: {
1011
outDir: '../demo_dist',
1112
rollupOptions: {

0 commit comments

Comments
 (0)