Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ovyvo/radiant-ui

适用于vue3的组件库
https://github.com/ovyvo/radiant-ui

radiantui typescript vue3

Last synced: 2 months ago
JSON representation

适用于vue3的组件库

Awesome Lists containing this project

README

        



















> 适用于 Vue3.0 的简易组件库

## 安装

```shell
npm install @ovyvo/radiant-ui -S
// or
yarn add @ovyvo/radiant-ui -S
// or
cnpm install @ovyvo/radiant-ui -S
```

## 快速开始

#### 全量引入

```javascript
// main.ts
import { createApp } from "vue"
import RadiantUI from "@ovyvo/radiant-ui"
import "element-plus/dist/index.css"
import "@ovyvo/radiant-ui/dist/index.css"
import App from "./App.vue"

const app = createApp(App)

app.use(RadiantUI)
app.mount("#app")
```

#### 按需引入

```vue

RaButton

import { RaButton } from "@ovyvo/radiant-ui"
import "@ovyvo/radiant-ui/theme-chalk/src/ra-button.css"
export default {
components: { RaButton }
}

```

> 详情参见 [快速开始](https://ovyvo.github.io/radiant-ui/guide/start.html) 文档.

## 链接

- 项目搭建及技术点分析详见[个人博客](https://ovyvo.github.io/yanblog.github.io/)

## LICENSE

[MIT](LICENSE)