preset-attributify 不要用b
This commit is contained in:
@ -19,7 +19,7 @@ import type { FunctionalComponent } from 'vue';
|
||||
// https://cn.vuejs.org/guide/extras/render-function#typing-functional-components
|
||||
const FComponent: FunctionalComponent<{ prop: string }> = (props, context) => (
|
||||
<>
|
||||
<div b="1 solid pink" text="pink">
|
||||
<div border="1 solid pink" text="pink">
|
||||
<span>This is a functional component with prop: {JSON.stringify(props)}</span>
|
||||
</div>
|
||||
</>
|
||||
@ -33,7 +33,6 @@ const FComponent: FunctionalComponent<{ prop: string }> = (props, context) => (
|
||||
<li><router-link :to="{ name: 'TsEnumUtil' }">TS Enum Util</router-link></li>
|
||||
<li><router-link :to="{ name: 'SomePage' }">Some Page</router-link></li>
|
||||
<li><router-link :to="{ name: '中文页面' }">中文-页面.page.vue</router-link></li>
|
||||
<li><router-link :to="{ name: 'MdPage' }">Markdown Page</router-link></li>
|
||||
</ul>
|
||||
<FComponent prop="Hello World" />
|
||||
<div text-orange></div>
|
||||
|
Reference in New Issue
Block a user