此项目 主要是 根据 elementUI 中 tree组件,来延伸制作的 可以拖拽移动的 tree。 并且 还有 选中 某一行一级分类可以在这一行后面新增新的 一级分类 功能。
拖拽排序 供以后续参考
Vue + elementUI
a tree of element-ui
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
#install 有报错,请使用 淘宝 cnpm(npm install -g cnpm --registry=https://registry.npm.taobao.org),再运行cnpm安装依赖包。
For a detailed explanation on how things work, check out the guide and docs for vue-loader.