Initial project
This commit is contained in:
21
examples/Root.vue
Normal file
21
examples/Root.vue
Normal file
@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<div class="root">
|
||||
<h2 v-popup="`提示`">test popup</h2>
|
||||
<icon name="ZIP" :scale="2" disabled />
|
||||
<markdown-editor class="editor" v-model:data="data" :minRows="12" :max-rows="24" />
|
||||
</div>
|
||||
<popup />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { Icon, Popup } from "timi-web";
|
||||
import MarkdownEditor from "~/components/markdown-editor/index.vue";
|
||||
|
||||
const data = ref("");
|
||||
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.root {
|
||||
width: 80%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user