1.0.0 • Published 5 years ago
qxy-demo v1.0.0
qxy-demo
描述
创建一个测试npm包
install
npm install qxy-demo
Use
// main.js
import qxyDemo from 'qxy-demo'
Vue.use(qxyDemo)
// demo.js
<template>
<div class="demo">
<qxy-demo :title="title" :text="text" />
</div>
</template>
<script>
export default {
name: 'Demo',
data() {
return {
title: '测试数据',
text: '测试数据',
}
}
}
</script>
1.0.0
5 years ago