mirror of
https://github.com/youzan/vant.git
synced 2025-12-22 01:07:29 +08:00
add auto generate example js
This commit is contained in:
14
docs/components/example-block.vue
Normal file
14
docs/components/example-block.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<div class="example-block">
|
||||
<h2 class="demo-sub-title" v-text="title"></h2>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
title: String
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user