You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
480 B
30 lines
480 B
<template>
|
|
<div>
|
|
sada{{ color }}
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent, PropType } from "vue"
|
|
|
|
export default defineComponent({
|
|
props: {
|
|
color: {
|
|
type: String as PropType<'blue' | 'red'>,
|
|
required: true
|
|
},
|
|
aaa: {
|
|
type: String as PropType<'dd' | 'red'>,
|
|
required: true
|
|
},
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<style>
|
|
@import "./aaa.css";
|
|
|
|
div {
|
|
color: red;
|
|
}
|
|
</style>
|