Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-vscode-template.
Something went wrong. Try again.
365 B · 11 lines
TypeScript
123456789101112import type { ExtensionContext } from 'vscode'import * as vscode from 'vscode'
import { prepareWebView } from './webview'
export async function activate(context: ExtensionContext) { const webview = vscode.commands.registerCommand('publisher-slug.preview', () => prepareWebView(context)) context.subscriptions.push(webview)}
export function deactivate() {}