0.0.29 • Published 6 months ago

tingfeng v0.0.29

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

开始

1. 下载方式

你可以通过npmyarn下载

npm install tingfeng
yarn add tingfeng

2. 引用

main.ts中引用

    
import TingFengUI from 'tingfeng'

import 'tingfeng/css';

app.use(TingFengUI)
    

3. 使用

Tbutton组件示例

<script lang="ts" setup>
const click = (e: MouseEvent) => {
  console.log(e);
};
</script>

<template>
  <Tbutton size="large" type="primary" @handleClick="click">测试组件</Tbutton>
</template>

<style lang="less" scoped></style>
    

4. TS类型支持

tsconfig.json中添加types字段

{
  "compilerOptions": {
    "types": ["tingfeng/src/components.d.ts"]
  }
}
0.0.28

6 months ago

0.0.29

6 months ago

0.0.27

6 months ago

0.0.26

6 months ago

0.0.25

6 months ago

0.0.24

6 months ago

0.0.23

6 months ago

0.0.22

6 months ago

0.0.21

6 months ago

0.0.20

6 months ago

0.0.19

6 months ago

0.0.18

6 months ago

0.0.17

6 months ago

0.0.16

7 months ago

0.0.15

7 months ago

0.0.14

7 months ago

0.0.13

7 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.1

7 months ago