feat: 更新 PrimeVue 组件,添加城市选择下拉框并优化按钮布局
This commit is contained in:
@ -1,8 +1,20 @@
|
||||
<template>
|
||||
<div class="pppppppp">
|
||||
<InputText />
|
||||
<button>button</button>
|
||||
<Button>Button</Button>
|
||||
<PButton>PButton</PButton>
|
||||
|
||||
<Button>PButton</Button>
|
||||
|
||||
<Select
|
||||
:options="[
|
||||
{ name: 'New York', code: 'NY' },
|
||||
{ name: 'Rome', code: 'RM' },
|
||||
{ name: 'London', code: 'LDN' },
|
||||
{ name: 'Istanbul', code: 'IST' },
|
||||
{ name: 'Paris', code: 'PRS' },
|
||||
]"
|
||||
optionLabel="name"
|
||||
placeholder="Select a City"
|
||||
class="min-w-[200px]"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -115,7 +115,7 @@ function Plugins() {
|
||||
}), // https://github.com/unplugin/unplugin-icons?tab=readme-ov-file#auto-importing
|
||||
TDesignResolver({ library: 'mobile-vue', esm: true }),
|
||||
VantResolver({ importStyle: true }),
|
||||
PrimeVueResolver({ components: { prefix: 'P' } }),
|
||||
PrimeVueResolver(/* { components: { prefix: 'P' } } */),
|
||||
],
|
||||
}),
|
||||
Icons({
|
||||
|
Reference in New Issue
Block a user