guld-ui
v0.0.17
Published
- ๐ Vue 3 - ๐ Vite - ๐ pinia - ๐ TypeScript
Downloads
5
Readme
Features
- ๐ Vue 3
- ๐ Vite
- ๐ pinia
- ๐ TypeScript
Install
Using npm
to install:
# install latest Vant for Vue 3 project
npm install guld-ui
Using yarn
or pnpm
:
# with yarn
yarn add guld-ui
# with pnpm
pnpm add guld-ui
Quickstart
import Guld from 'guld-ui'
import 'guld-ui/dist/style.css'
import { createApp } from 'vue';
const app = createApp(App)
app.use(Guld)
// use
<g-button class="button">button</g-button>
Button
- ๅฑๆง
ๅฑๆงๅ | ็ฑปๅ | ๅฏ้ๅผ | ้ป่ฎคๅผ | ๆ่ฟฐ :---: | :---: | :---: | :---:| :---: size | string | small,normal,large | normal | ๆงๅถbuttonๅคงๅฐ loading | boolean | false,true | false | ๆพ็คบๆ้ฎๆฏๅฆๅคไบloading็ถๆ round | boolean | false,true | false | ๆฏๅฆไธบๅ่ง type | string | primary,success,error,info | info | ๆ้ฎ็็ฑปๅ๏ผไนๅฐฑๆฏๅฎ้ ไธ็้ข่ฒ disabled | boolean | false,true | false | ๆ้ฎ็็นๅป็ถๆ long | boolean | false,true | false | ๆจชๅๅกซๅ ๆปก
Input
- ๅฑๆง
ๅฑๆงๅ | ็ฑปๅ | ๅฏ้ๅผ | ้ป่ฎคๅผ | ๆ่ฟฐ :---: | :---: | :---: | :---:| :---: type | string | ๅ็inputๆๆtypeๅผ๏ผ้คไบtextarea๏ผ | password | ็ฑปๅ placeholder | string | - | - | ่พๅ ฅๅ ไฝๆๆฌ disabled | boolean | true,false | false | ๆฏๅฆ็ฆ็จ readonly | boolean | true,false | false | ๆฏๅฆๅช่ฏป
- inputไบไปถ
ไบไปถๅ | ่ฏดๆ | ๅๆฐ :---: | :---: | :---: change | ไป ๅฝ modelValue ๆนๅๆถ๏ผๅฝ่พๅ ฅๆกๅคฑๅป็ฆ็นๆ็จๆทๆEnterๆถ่งฆๅ | value: string | number input | ๅจ Input ๅผๆนๅๆถ่งฆๅ | value: string | number