DEV Community

Proverbial Ninja
Proverbial Ninja

Posted on

Svelte vscode component extractor tool

Made this vscode extension that helps to extract a component

  1. Highlight code you want to extract
  2. Ctrl + Shift + P to run command pallete
  3. Select "Svelte Extract Component"
  4. Input new component Name
  5. Your new component is created and imported

Svelte Component Extractor Demo

you can find it here
https://marketplace.visualstudio.com/items?itemName=proverbialninja.svelte-extractor

Top comments (0)