Socket
Book a DemoInstallSign in
Socket

vuegc

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuegc

https://github.com/AsheTM/vuegc

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

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):

  • --scoped: Boolean for scoped tag on style inside the file.vue [Default: true]

  • --style: Pre-processor CSS [Default: css] [Value supported: css, scss, stylus]

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

Keywords

vue

FAQs

Package last updated on 07 Sep 2019

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