bar-ui
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i bar-ui

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

161 kB

Total Files

43

Last publish

Collaborators

  • tuzilow