chore: add tooltip demo
This commit is contained in:
parent
a5d7abb00e
commit
bbf8fb13b8
|
@ -1,19 +1,20 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
// This starter template is using Vue 3 <script setup> SFCs
|
// This starter template is using Vue 3 <script setup> SFCs
|
||||||
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
|
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
|
||||||
import { ref } from "vue";
|
import { ref } from 'vue';
|
||||||
import HelloWorld from "./components/hello-world.vue";
|
import HelloWorld from './components/hello-world.vue';
|
||||||
import Avatar from "./components/avatar.vue";
|
import Avatar from './components/avatar.vue';
|
||||||
import Tabs from "./components/tabs.vue";
|
import Tabs from './components/tabs.vue';
|
||||||
import ButtonEdit from "./components/button-edit.vue";
|
import ButtonEdit from './components/button-edit.vue';
|
||||||
import FButton from "./components/button.vue";
|
import FButton from './components/button.vue';
|
||||||
import Switch from "./components/switch.vue";
|
import Switch from './components/switch.vue';
|
||||||
import RadioGroup from "./components/radio-group.vue";
|
import RadioGroup from './components/radio-group.vue';
|
||||||
import Section from "./components/section.vue";
|
import Section from './components/section.vue';
|
||||||
import Notify from "./components/notify.vue";
|
import Notify from './components/notify.vue';
|
||||||
import Accordion from "./components/accordion.vue";
|
import Accordion from './components/accordion.vue';
|
||||||
import ComboList from "./components/combo-list.vue";
|
import ComboList from './components/combo-list.vue';
|
||||||
import CheckboxGroup from "./components/checkbox.vue";
|
import CheckboxGroup from './components/checkbox.vue';
|
||||||
|
import Tooltip from './components/tooltip.vue';
|
||||||
|
|
||||||
const canEdit = ref(true);
|
const canEdit = ref(true);
|
||||||
const disable = ref(false);
|
const disable = ref(false);
|
||||||
|
@ -46,6 +47,7 @@ const canAutoComplete = ref(false);
|
||||||
<ComboList />
|
<ComboList />
|
||||||
<RadioGroup></RadioGroup>
|
<RadioGroup></RadioGroup>
|
||||||
<CheckboxGroup />
|
<CheckboxGroup />
|
||||||
|
<Tooltip></Tooltip>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import Tooltip from '../../components/tooltip/src/tooltip.component';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<Tooltip> </Tooltip>
|
||||||
|
</template>
|
Loading…
Reference in New Issue