svelte-component-generator

1.0.0 • Public • Published

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.

/svelte-component-generator/

    Package Sidebar

    Install

    npm i svelte-component-generator

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    10.3 kB

    Total Files

    7

    Last publish

    Collaborators

    • netbasal