Skip to content

Commit 08d3ee3

Browse files
committed
fix build script
1 parent 2b55162 commit 08d3ee3

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/x-icon" href="https://dhtmlx.com/favicon.ico">
5+
<link rel="icon" type="image/x-icon" href="/favicon.ico">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>DHX Diagram with Vue</title>
88
</head>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"start": "vite",
66
"build": "vite build",
77
"preview": "vite preview --port 4173",
8-
"deploy": "gh-pages -d dist"
8+
"deploy": "yarn build && gh-pages -d dist"
99
},
1010
"dependencies": {
1111
"@dhx/trial-diagram": "^6.0.1",

vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import vue from '@vitejs/plugin-vue'
66
// https://vitejs.dev/config/
77
export default defineConfig({
88
plugins: [vue()],
9+
base: "./",
910
resolve: {
1011
alias: {
1112
'@': fileURLToPath(new URL('./src', import.meta.url))

0 commit comments

Comments
 (0)