Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-vscode-template.
Something went wrong. Try again.
205 B · 11 lines
TypeScript
123456789101112export default defineNuxtPlugin(() => { // allow development with hmr if (typeof acquireVsCodeApi === 'undefined') return
return { provide: { vscode: acquireVsCodeApi(), }, }})