Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.15 KB

index.md

File metadata and controls

55 lines (37 loc) · 1.15 KB

splendor-ui

Vue 3 打造的前端 UI 组件库。主要用于支持下一代个人网站 骁之屋 前端的开发。

也欢迎大家在自己的项目中试用并提出宝贵的建议。

部分配色和灵感来自:https://bootswatch.com/flatly/

Version MIT

安装

# use npm
$ npm i splendor-ui -S
# or use yarn
$ yarn add splendor-ui

基本用法

<template>
  <sk-button>Hello World</sk-button>
</template>

<script>
import { Button } from 'splendor-ui';
export default {
  components: {
    [Button.name]: Button, // register sk-button
  },
};
</script>

别忘了在你的应用入口引入样式文件:

import 'splendor-ui/es/main.css';

项目地址

https://github.com/sunkint/splendor-ui

贡献者

@sunkint(发起人)

@chenshiai

@zedmund

@Xiaxuhui