Socket
Book a DemoInstallSign in
Socket

@ashetm/vue-cli-plugin-component-generator

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ashetm/vue-cli-plugin-component-generator

Vue component generator for new components

0.1.1
latest
Source
npmnpm
Version published
Weekly downloads
2
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Vue Component Generator (Javascript & 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 @ashetm/vue-cli-plugin-component-generator
  • Install via vue-cli
$ vue add @ashetm/vue-cli-plugin-component-generator

Usage

  • Invoke to generate a new components:
$ vue invoke  @ashetm/vue-cli-plugin-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 component name?

Here componet name can be defined.

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

file-name.html
file-name.vue
file-name.scss or file-name.sass or file-name.css
file-name.js or file-name.ts

Keywords

vue

FAQs

Package last updated on 25 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.