diff --git a/docs/src/components/Demo/index.vue b/docs/src/components/Demo/index.vue index b1c888c5..59b675e9 100644 --- a/docs/src/components/Demo/index.vue +++ b/docs/src/components/Demo/index.vue @@ -100,6 +100,10 @@ export default { }, githubUrl() { + if (process.env.NODE_ENV === 'development') { + return `vscode://file${this.cwd}/src/demos/${this.name}/${this.files[0].name}` + } + return `https://github.com/ueberdosis/tiptap-next/tree/main/docs/src/demos/${this.name}` }, },