Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 5071c98

Browse files
committed
build: Add gh-pages
1 parent 9cb9467 commit 5071c98

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# vue-diff
22

33
Vue diff viewer plugin for Vue@3
4-
<a href="https://hoiheart.github.io/vue-diff/demo/index.html" target="_blank">demo</a>
4+
<a href="https://hoiheart.github.io/vue-diff/index.html" target="_blank">demo</a>
55

66
## Table of Contents
77

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"scripts": {
2626
"dev": "vite -c vite.config.demo.ts",
2727
"build": "vue-tsc --noEmit && vite build",
28-
"build:docs": "vite build -c vite.config.docs.ts",
29-
"deploy": "yarn build:docs && gh-pages -d docs",
28+
"predeploy": "vite build -c vite.config.docs.ts",
29+
"deploy": "gh-pages -d docs -r https://github.com/hoiheart/vue-diff.git",
3030
"test": "vitest --run"
3131
},
3232
"main": "./dist/index.umd.js",

0 commit comments

Comments
 (0)