1.1.1 • Published 3 years ago

bar-ui v1.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

BAR UI

使用 Vue3 和 Vite 开发的 UI 库

安装

npm install bar-ui

快速开始

  1. 引入所有样式
// src/main.js
import { createApp } from 'vue';
import App from './App.vue';
import 'bar-ui/lib/index.css';

createApp(App).mount('#app');
  1. 引入组件
// src/App.vue
<template>
  <div>
    <bar-header title="你好" fixed />
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { Header } from 'bar-ui';

export default defineComponent({
  name: 'App',
  components: {
    [Header.name]: Header,
  },
});
</script>

演示及文档

https://tuzilow.github.io/bar-ui

LICENSE

MIT

1.1.1

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago