0.1.7 • Published 5 years ago

vue-cli-plugin-vue-component-generator v0.1.7

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

Vue Component Generator (Typescript)

vue-cli 3 plugin to generate vue components

This package will works with typescript and create vue components easily using vue cli.

Installation

  • Install via npm
    $ npm i vue-cli-plugin-vue-component-generator
  • Install via yarn
    $ yarn add vue-cli-plugin-vue-component-generator
  • Install via vue-cli
$ vue add vue-cli-plugin-vue-component-generator

Usage

  • Invoke to generate a new components:
$ vue invoke vue-cli-plugin-vue-component-generator

This will prompt to following questions.

? Where's your components's root directory? 

By default this will give ./src/components path. But you can decide and type the path you want to generate the component.

? What's your new components's name? 

Here componet name can be defined.

Now it will generate 3 files in the defined directory inside a folder with file name.

file-name.templete.html
file-name.vue
file-name.scss
0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago