Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Latest commit

 

History

History
42 lines (30 loc) · 765 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 765 Bytes

Vue js component generator Awesome

CLI util for easy generate Vue js component

Installation

npm install vue-generate-component -g git+https://github.com/devmasx/vue-generate-component.git

Usage

vgc --help

Create new component

vgc Button

Will generate files:

src/components/Button/Button.vue src/components/Button/Button.scss

//src/components/Button/Button.vue -->
<template>
  <div>Button</div>
</template>

<script>
  export default {
    name: "Button",
    props: {}
  };
</script>

<style lang="scss" scoped src="./Button.scss"></style>