Initial commit of akmon project
This commit is contained in:
28
components/slottest/slottest.uvue
Normal file
28
components/slottest/slottest.uvue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<slot name="default" :data="data" >
|
||||
</slot>
|
||||
</template>
|
||||
|
||||
<script lang="uts">
|
||||
export default {
|
||||
name: 'slottest',
|
||||
data() {
|
||||
return {
|
||||
data: [{a:'a'},{a:'b'}]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.change-message {
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user