refactor: 组件示例文件重命名

Former-commit-id: a2072301b58e30a085a2637a34797117c8a8a1ce
This commit is contained in:
haoxr
2023-03-26 18:25:46 +08:00
parent 02670fc741
commit 8db6776de0
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<!-- 图标选择器示例 -->
<script setup lang="ts">
const iconName = ref('edit');
</script>
<template>
<div class="app-container">
<icon-select v-model="iconName" />
</div>
</template>

View File

@@ -0,0 +1,11 @@
<!-- wangEditor富文本编辑器示例 -->
<script setup lang="ts">
import Editor from '@/components/WangEditor/index.vue';
const value = ref('初始内容');
</script>
<template>
<div class="app-container">
<editor v-model="value" style="height: 600px" />
</div>
</template>