element-ui tree secondary development
# install dependencies
npm install
# serve with hot reload at localhost:9494
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
elementUI ^2.2.0可以使用scoped slot的方式自定义节点,所以有两种方式,但原理都是一样。 展示地址