first commit
This commit is contained in:
1
dbui/examples/page/.pydio
Normal file
1
dbui/examples/page/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
47a9a44f-42ce-4a96-9c9a-a3652874ef9e
|
||||
21
dbui/examples/page/About.vue
Normal file
21
dbui/examples/page/About.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<h2>{{ title }}</h2>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { onMounted, toRefs, reactive, computed } from '@vue/composition-api'
|
||||
|
||||
export default {
|
||||
setup(props: any) {
|
||||
const state = reactive({
|
||||
title: '关于我'
|
||||
});
|
||||
|
||||
return {
|
||||
...toRefs(state)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
23
dbui/examples/page/Home.vue
Normal file
23
dbui/examples/page/Home.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<h2>{{ title }}</h2>
|
||||
<db-list :Demos="[1,2,3,4,5,6]"></db-list>
|
||||
<db-buttons></db-buttons>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { onMounted, toRefs, reactive, computed } from '@vue/composition-api'
|
||||
|
||||
export default {
|
||||
setup(props: any) {
|
||||
const state = reactive({
|
||||
title: '首页'
|
||||
});
|
||||
|
||||
return {
|
||||
...toRefs(state)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user