vite-plugin-vue-component-preview icon indicating copy to clipboard operation
vite-plugin-vue-component-preview copied to clipboard

Update index.ts

Open JoJk0 opened this issue 2 years ago • 0 comments

Move return id inside if statement so handler is only handling preview pages and nothing else. This solves conflict with dynamicRoutes in vitepress

https://github.com/vuejs/vitepress/blob/main/src/node/plugins/dynamicRoutesPlugin.ts#L98

JoJk0 avatar Nov 29 '23 13:11 JoJk0