1.0.0 • Published 5 years ago

svelte-component-generator v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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.