mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
zanui vue config
This commit is contained in:
18
packages/image-preview/src/image-preview.vue
Normal file
18
packages/image-preview/src/image-preview.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2>author: {{ author }}</h2>
|
||||
<div>Hello {{ name }}</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Sample',
|
||||
props: ['author'],
|
||||
data() {
|
||||
return {
|
||||
name: 'World'
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
Reference in New Issue
Block a user