1.0.6 • Published 7 years ago

vue-cc v1.0.6

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

This npm repository provide you a commend line to create vue component.

The vcc commend

The commend vcc someName will create a folder with the name someName and 3 files inside the folder

The files:

  • someName.tempalete.html
  • someName.style.scss
  • someName.vue

someName.tempalete.html content

<!-- Important id bind to the id name of the component in the vue file -->
<div id="access">

    </div>

someName.style.scss content

.someName{
}

someName.vue content

<template src="./access.template.html"></template>
<style lang="scss" scoped src="./access.style.scss"></style>
<script lang="ts">
    import Vue from "vue";
    export default Vue.extend({
        name: 'access',
        components: {},
        data: () => {
            return {}
        },
        methods: {},
        created()  {}
    })
</script>

###to use it use

npm install vue-cc --save-dev
npm install vue-cc -g

and then use it from your cmd

vcc someName
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago