6 changed files with 3 additions and 59 deletions
@ -1,7 +0,0 @@ |
|||||
import PsButton from "./index.vue" |
|
||||
PsButton.name="ps-button" |
|
||||
|
|
||||
export { |
|
||||
PsButton |
|
||||
} |
|
||||
export default PsButton |
|
@ -1,15 +0,0 @@ |
|||||
<template> |
|
||||
<div class="ps-button"> |
|
||||
<slot>{{text}}</slot> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<script lang="ts"> |
|
||||
import { defineComponent, PropType } from "vue" |
|
||||
|
|
||||
export default defineComponent({ |
|
||||
props: { |
|
||||
text: String, |
|
||||
}, |
|
||||
}) |
|
||||
</script> |
|
@ -1,9 +1,5 @@ |
|||||
// 该文件为自动生成,请勿修改!!!
|
// 该文件为自动生成,请勿修改!!!
|
||||
import PsButton from "./button" |
|
||||
import PsCaptcha from "./captcha" |
import PsCaptcha from "./captcha" |
||||
import PsFuck from "./fuck" |
|
||||
export { |
export { |
||||
PsButton, |
PsCaptcha |
||||
PsCaptcha, |
|
||||
PsFuck |
|
||||
} |
} |
@ -1,7 +0,0 @@ |
|||||
import PsFuck from "./index.vue" |
|
||||
PsFuck.name = "ps-fuck" |
|
||||
|
|
||||
export { |
|
||||
PsFuck |
|
||||
} |
|
||||
export default PsFuck |
|
@ -1,20 +0,0 @@ |
|||||
<template> |
|
||||
<div> |
|
||||
sada{{ color }} |
|
||||
<ps-button color="red" aaa="red"></ps-button> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<script setup lang="ts"> |
|
||||
import PsButton from "@princess-ui/components/button" |
|
||||
|
|
||||
const props = defineProps<{ |
|
||||
color: 'aaa' |
|
||||
}>() |
|
||||
</script> |
|
||||
|
|
||||
<style> |
|
||||
div{ |
|
||||
color: green |
|
||||
} |
|
||||
</style> |
|
Loading…
Reference in new issue