Skip to content

Commit 7375add

Browse files
committed
docs: update
1 parent 57c3c0d commit 7375add

File tree

6 files changed

+9
-129
lines changed

6 files changed

+9
-129
lines changed

docs/components/examples/CustomToolbar.vue

Lines changed: 0 additions & 54 deletions
This file was deleted.

docs/components/examples/HandleEvents.vue

Lines changed: 0 additions & 72 deletions
This file was deleted.

docs/content/.vitepress/theme/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Theme from 'vitepress/theme'
22
import { defineAsyncComponent, h } from 'vue'
3-
import('../../../utils/load-scripts')
3+
// import('../../../utils/load-scripts')
44
// import sponsors from './sponsors.json'
55

66
import '@tailwindcss/custom-forms/dist/custom-forms.min.css'

docs/package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
},
2222
"dependencies": {
2323
"@tailwindcss/custom-forms": "^0.2.1",
24-
"@vueup/vue-quill": "^1.0.0-alpha.37"
24+
"@vueup/vue-quill": "^1.0.0-alpha.37",
25+
"ssr-window": "^3.0.0"
2526
}
2627
}

docs/utils/load-scripts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const loadScript: any = (src: string, isAsync: boolean) => {
1010
// Load the next queue item
1111
loadScript.loading = true
1212
const item = loadScript.scripts[++loadScript.index]
13-
const head = document.getElementsByTagName('head')[0]
13+
const head = document.head
1414
const script = document.createElement('script')
1515
script.type = 'text/javascript'
1616
script.src = item.src

0 commit comments

Comments
 (0)