hejia-v / MyCodeTool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Base Vue 3 Sidebar View Extension

Screenshot of the template

A Vue 3, Vite built template can be used to create a VSCode sidebar extension by providing a structure code and utilizing the vite build tool to compile and bundle the extension for deployment to VSCode. This template contains everything you need to get started building your extension right away. With this template, you can leverage the features and capabilities of Vue 3 to build powerful and interactive extensions for VSCode.

Includes:

  • Typescript
  • Vue 3
  • Vite
  • Tailwindcss
    • Vscode Default style Tailwind config
  • Iconify via unplugin
  • I18n via unplugin
  • Vitest
    • Vitest UI
  • Testing Library
  • Decent Linting
  • CircleCI
  • Basic VSCode API Message Examples

Get Started:

Install dependencies:

  • yarn install

Modify the following files:

  • package.json
    • Replace all instances of vue3baseextension with your extension id
    • Replace all instances of vue-3-base-view with a view ID
    • Replace all instances of Vue 3 Base Extension with an extension name
    • Replace default.png with your own extension icon

Run the extension:

  • Enter yarn watch in the console
  • Press f5 on the extension.ts to open a debug window (or select in menu "Debug" -> "Run Extension")
  • Navigate to the extension icon seen on the left sidebar (or open command palette (Ctrl/Cmd + Shift + P) and select View: Vue 3 Base Extension to open webview view.)

Recommended VSCode Extensions

References

About


Languages

Language:C# 51.5%Language:TypeScript 25.8%Language:GLSL 8.9%Language:Python 6.4%Language:Vue 3.8%Language:CSS 3.3%Language:JavaScript 0.2%