vkd-components

1.3.4 • Public • Published

vkd-components

Install vkd-components

Using npm:

npm install vkd-components --save

Using a script tag for global use:

<script type="text/javascript" src="vkd-components.min.js"></script>
<link rel="stylesheet" href="dist/styles/vkd-components.css">

Usage 局部

<template>
    <staff-management :typeCode="typeCode"></staff-management>
</template>
<script>
    import { StaffManagement } from 'vkd-components'
 
    export default {
        data () {
            return {
                typeCode: 4
            }
        },
        components: {
          StaffManagement
        }
    }
</script>

Usage 全局

import Vue from 'vue';
import VkdComponents from 'vkd-components';
 
 
Vue.use(VkdComponents);
 
-----------------------------
 
<template>
    <vkd-staff-management :typeCode="typeCode"></vkd-staff-management>
</template>
<script>
    export default {
        data () {
            return {
                typeCode: 4
            }
        }
    }
</script>

Using css via import:

import 'vkd-components/dist/styles/vkd-components.css';

Package Sidebar

Install

npm i vkd-components

Weekly Downloads

1

Version

1.3.4

License

MIT

Unpacked Size

328 kB

Total Files

26

Last publish

Collaborators

  • pleasureswx123