burger-ui
BurgerUI
Description
A Simple Component Library For Vue3
Install
npm install burger-ui
Start
- Global import
// main.ts
import { createApp } from "vue";
import App from "./App.vue";
import BurgerUI from "burger-ui";
const app = createApp(App);
app.use(BurgerUI);
app.mount(document.getElementById("app") as HTMLElement);
// App.vue
<template>
<!-- There will be no type prompt -->
<BackTop :target="backTopNode" />
</template>
<script setup lang="ts">
import { ref, onMounted } from "vue";
const backTopNode = ref();
onMounted(() => {
backTopNode.value = document.getElementsByTagName("main")[0];
});
</script>
<style lang="less" scoped></style>
- Local import
// App.vue
<template>
<BackTop :target="backTopNode" />
</template>
<script setup lang="ts">
import { onMounted, ref } from "vue";
import { BackTop } from "burger-ui";
const backTopNode = ref();
onMounted(() => {
backTopNode.value = document.getElementsByTagName("main")[0];
});
</script>
<style lang="less" scoped></style>
Document
Repository
LICENSE
Menu
├─alert 警告
├─aside 侧边栏
├─assets 静态文件
│ ├─icon svg图标
│ └─img 图片
├─avatar 头像
├─back-top 返回顶部
├─breadcrumb 面包屑
├─button 按钮
├─card 卡片
├─checkbox 多选框
├─color-picker 颜色选择器
├─container 布局容器
├─counter 计数器
├─dialog 对话框
├─drawer 抽屉
├─empty 空状态
├─fold-panel 折叠面板
│ └─fold-panel-item 折叠面板项
├─footer 页脚
├─form 表单
│ └─form-item 表单项
├─header 页眉
├─image 图片
├─input 输入框
├─main 主体
├─menu 菜单栏
│ ├─menu-item 菜单项
│ └─sub-menu 二级菜单
├─pagination 分页
├─popup 弹窗
├─progress 进度条
├─radio 单选框
├─select 下拉框
├─skeleton 骨架屏
├─slide-show 幻灯片
├─slider 滑块
├─switch 开关
├─table 表格
├─tag 标签
├─tip 提示
└─upload 上传
index.d.ts 声明文件
index.ts 组件导出入口
package.json 依赖项及版本
README.md 说明
Related Packages
@nx/vue
The Vue plugin for Nx contains executors and generators for managing Vue applica...
2,627,680
29,434
@nx/nuxt
The Nuxt plugin for Nx contains executors and generators for managing Nuxt appli...
784,947
29,434
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.2.0 | ^3.2.45 | ISC | |
| 1.1.6 | ^3.2.45 | ISC | |
| 1.1.5 | ^3.2.45 | ISC | |
| 1.1.4 | ^3.2.45 | ISC | |
| 1.1.3 | ^3.2.45 | ISC | |
| 1.1.2 | ^3.2.45 | ISC | |
| 1.1.1 | ^3.2.45 | ISC | |
| 1.1.0 | ^3.2.45 | ISC | |
| 1.0.10 | ^3.2.45 | ISC | |
| 1.0.9 | ^3.2.45 | ISC | |
| 1.0.8 | ^3.2.45 | ISC | |
| 1.0.7 | ^3.2.45 | ISC | |
| 1.0.6 | ^3.2.45 | ISC | |
| 1.0.5 | ^3.2.45 | ISC | |
| 1.0.4 | ^3.2.45 | ISC | |
| 1.0.3 | ^3.2.45 | ISC | |
| 1.0.2 | ^3.2.45 | ISC | |
| 1.0.1 | ^3.2.45 | ISC | |
| 1.0.0 | ^3.2.45 | ISC | |
| 0.8.2 | ^3.2.45 | ISC | |
| 0.8.1 | ^3.2.45 | ISC | |
| 0.8.0 | ^3.2.45 | ISC | |
| 0.7.9 | ISC | ||
| 0.7.8 | ISC | ||
| 0.7.7 | ISC | ||
| 0.7.6 | ISC | ||
| 0.7.5 | ISC | ||
| 0.7.4 | ISC | ||
| 0.7.3 | ISC | ||
| 0.7.2 | ISC |
Showing the latest 30 of 43. See every release on npm