1.1.0 • Published 5 years ago

vuegc v1.1.0

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

VueGC

CLI command to generate a Vue component for VueJS MVC (not instance) in /src/ folder

vuegc --name HelloWord.vue [--scoped [true|false] [--style css]]

Required flag(s):

  • --name: Name of the component

Optional flag(s):

It generates component file .vue like this:

<template>
    <div id="Helloworld"> Component <span>Helloworld</span> generated by <a href="">VueGC</a> </div>
</template>

<script>
export default {
    name: "Helloworld", 
    props: { }, 
    data() { }, 
    methods() { }
}
</script>

<style lang="scss" scoped>
    #Helloworld{
    	font-size: 16px;
    	line-height: 150%;	
    }
    span{ font-weight: bold; }	
    a{ font-style: italic; }
</style>

For help section, tap vuegc

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago