vkd-components
Install vkd-components
Using npm:
npm install vkd-components --save
Using a script tag for global use:
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
:
;