33 lines
522 B
Vue
33 lines
522 B
Vue
|
<template>
|
||
|
<div id="app">
|
||
|
<mButton>
|
||
|
<template v-slot:default="{ datas }">
|
||
|
{{ datas.b }}
|
||
|
</template>
|
||
|
</mButton>
|
||
|
<!-- <mButton1/> -->
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
// import myComponents from '../packages'
|
||
|
|
||
|
export default {
|
||
|
name: 'App',
|
||
|
components: {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
#app {
|
||
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
-moz-osx-font-smoothing: grayscale;
|
||
|
text-align: center;
|
||
|
color: #2c3e50;
|
||
|
margin-top: 60px;
|
||
|
}
|
||
|
</style>
|