birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
76 lines (75 loc) • 1.8 kB
JavaScript
import Button from "./button/index.js";
import ButtonGroup from "./buttonGroup/index.js";
import Input from "./input/index.js";
import InputNumber from "./inputNumber/index.js";
import Textarea from "./textarea/index.js";
import Radio from "./radio/index.js";
import Checkbox from "./checkbox/index.js";
import Switch from "./switch/index.js";
import Select from "./select/index.js";
import Pagination from "./pagination/index.js";
import Table from "./table/index.js";
import Space from "./space/index.js";
import Alert from "./alert/index.js";
import Avatar from "./avatar/index.js";
import Tag from "./tag/index.js";
import Modal from "./modal/index.js";
import Spin from "./spin/index.js";
import Grid from "./grid/index.js";
import Link from "./link/index.js";
import Popconfirm from "./popconfirm/index.js";
import DatePicker from "./datePicker/index.js";
import TimePicker from "./timePicker/index.js";
import Image from "./image/index.js";
import Empty from "./empty/index.js";
import Drawer from "./drawer/index.js";
import Tooltip from "./tooltip/index.js";
import Trigger from "./trigger/index.js";
import Form from "./form/index.js";
import VerifyCode from "./verifyCode/index.js";
import Message from "./message/index.js";
const install = (app, option) => {
for (const key of Object.keys(components)) {
app.use(components[key]);
}
};
const components = {
Button,
ButtonGroup,
Input,
InputNumber,
Textarea,
Radio,
Checkbox,
Switch,
Select,
Pagination,
Table,
Space,
Alert,
Avatar,
Tag,
Modal,
Spin,
Grid,
Link,
Popconfirm,
DatePicker,
TimePicker,
Image,
Empty,
Drawer,
Tooltip,
Trigger,
Form,
VerifyCode,
Message
};
const birdpaperUi = {
...components,
install
};
export {
Message,
birdpaperUi as default
};