feat: 移除 AllCustomPrimevue 组件,简化 App.vue 结构
This commit is contained in:
18
src/App.vue
18
src/App.vue
@ -1,20 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import TutorialForm from './tutorial-form/index.vue'
|
||||
import ZodForm from './zod-form/index.vue'
|
||||
import AllCustom from './all-custom/all-custom.vue'
|
||||
import AllCustomPrimevue from './all-custom-primevue/all-custom-primevue.vue'
|
||||
import AllCustom from './all-custom/all-custom.vue';
|
||||
import TutorialForm from './tutorial-form/index.vue';
|
||||
import ZodForm from './zod-form/index.vue';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ZodForm v-if="false" />
|
||||
<TutorialForm v-if="false" />
|
||||
|
||||
<div class="flex flex-col md:flex-row items-start p-4 gap-4">
|
||||
<div class="md:w-1/2 p-4 w-full bg-white rounded-lg shadow-md dark:bg-gray-800 dark:text-white">
|
||||
<AllCustom />
|
||||
</div>
|
||||
<div class="md:w-1/2 p-4 w-full bg-white rounded-lg shadow-md dark:bg-gray-800 dark:text-white">
|
||||
<AllCustomPrimevue />
|
||||
</div>
|
||||
<!-- <div class="flex flex-col md:flex-row items-start p-4 gap-4"> -->
|
||||
<div class="p-4 w-full bg-white rounded-lg shadow-md dark:bg-gray-800 dark:text-white">
|
||||
<AllCustom />
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</template>
|
||||
|
Reference in New Issue
Block a user