svelte-component-generator Svelte Themes

Svelte Component Generator

🦄 Svelte Component Generator

🦄 Svelte Component Generator

Getting Started

Install it via npm:

npm install svelte-component-generator -g
svgen componentName

Base Path:

By default, the prompt is set to the current directory. To change it, add to the root package.json the following config:

"svelte": {
  "basePath": "./src/app/"
}

The path should be relative to the package.json.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes