Skip to content

Commit 735d7ac

Browse files
authored
Fix demo page - Github pages
2 parents 1c346e6 + 8d4d9e2 commit 735d7ac

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ yarn add react-basic-contenteditable
2020

2121
## Usage
2222

23-
<!-- Live **demo** at: [https://chrisuser.github.io/react-basic-contenteditable/](https://chrisuser.github.io/react-basic-contenteditable/) -->
23+
Live **demo** at [https://chrisuser.github.io/react-basic-contenteditable/](https://chrisuser.github.io/react-basic-contenteditable/)
2424

2525
### Example
2626

index.html

Lines changed: 0 additions & 1 deletion
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-basic-contenteditable</title>
87
</head>

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ import dts from "vite-plugin-dts"
99
export default defineConfig(({ mode }) => {
1010
if (mode === "docs") {
1111
return {
12-
plugins: [react(), dts({ exclude: ["lib"] })],
12+
// plugins: [react(), dts({ exclude: ["lib"] })],
1313
build: { outDir: "docs" },
14+
base: "/react-basic-contenteditable/",
1415
/* build: {
1516
rollupOptions: {
1617
external: ["react", "react/jsx-runtime"],

0 commit comments

Comments
 (0)