Install it via npm:
npm install svelte-component-generator -g
svgen componentName
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
.