vxe-tree
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

vxeTree

A powerful tree component for Vue3

Installing

Install with npm:

npm install vxe-tree

Import in your project:

import vxeTree from 'vxe-tree';

//import the styles
import 'vxe-tree/dist/index.css';

Vue.use(vxeTree);

Add .d.ts file:

declare module 'vxe-tree'

Features

  • Lazy-loading
  • Checkbox selection
  • Disabled and Default state
  • Custom icons
  • Search filtering
  • Virtual scrolling
  • Drag and drop functionality
  • Action buttons

Please refer to the documentation for specific usage

Theme customization

After introducing the default styles, introduce your own styles

:root {
  --vxe-brand: red; //checkBox style
  --vxe-list-item-selected-bg: blue; //selected style
  --vxe-list-item-hover-bg: yellow; //hover style
}

License

MIT License © 2023 mengqiuleo

/vxe-tree/

    Package Sidebar

    Install

    npm i vxe-tree

    Weekly Downloads

    3

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    85.8 kB

    Total Files

    7

    Last publish

    Collaborators

    • mengqiuleo