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

devmasx/vue-generate-component

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Vue js component generator

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.5%
  • HTML 12.5%