├── .babelrc
├── .editorconfig
├── .gitignore
├── .postcssrc.js
├── README.md
├── dist
├── index.html
├── static
│ └── js
│ │ ├── app.c5d489d7531359a95ae4.js
│ │ ├── app.c5d489d7531359a95ae4.js.map
│ │ ├── manifest.f13e4d0131d6e7563fda.js
│ │ ├── manifest.f13e4d0131d6e7563fda.js.map
│ │ ├── vendor.23b2cff6f2751bc97233.js
│ │ └── vendor.23b2cff6f2751bc97233.js.map
├── vue-svg-tree.min.css
└── vue-svg-tree.min.css.map
├── example
├── index.html
└── static
│ ├── css
│ ├── app.dd870e83d2d18ad7e43a150936800b79.css
│ └── app.dd870e83d2d18ad7e43a150936800b79.css.map
│ └── js
│ ├── app.5c5463d855fa5c7c0f66.js
│ ├── app.5c5463d855fa5c7c0f66.js.map
│ ├── manifest.3ad1d5771e9b13dbdad2.js
│ ├── manifest.3ad1d5771e9b13dbdad2.js.map
│ ├── vendor.643b326d854820d6ddbb.js
│ └── vendor.643b326d854820d6ddbb.js.map
├── index.html
├── package.json
├── src
├── App.vue
├── example
│ ├── index.vue
│ └── list.js
├── lib
│ ├── index.js
│ ├── index.vue
│ └── ruler.js
├── main.js
└── router
│ └── index.js
├── static
└── .gitkeep
└── vue-svg-tree-1.0.0.tgz
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["env", {
4 | "modules": false,
5 | "targets": {
6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
7 | }
8 | }],
9 | "stage-2"
10 | ],
11 | "plugins": ["transform-vue-jsx", "transform-runtime"]
12 | }
13 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | npm-debug.log*
4 | yarn-debug.log*
5 | yarn-error.log*
6 | package-lock.json
7 | /config/
8 | /build/
9 |
10 | # Editor directories and files
11 | .idea
12 | .vscode
13 | *.suo
14 | *.ntvs*
15 | *.njsproj
16 | *.sln
17 |
--------------------------------------------------------------------------------
/.postcssrc.js:
--------------------------------------------------------------------------------
1 | // https://github.com/michael-ciniawsky/postcss-load-config
2 |
3 | module.exports = {
4 | "plugins": {
5 | "postcss-import": {},
6 | "postcss-url": {},
7 | // to edit target browsers: use "browserslist" field in package.json
8 | "autoprefixer": {}
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vue-svg-tree
2 | > 基于vue和svg的动态树形UI
3 |
4 | [](https://https://www.calamus.xyz)
5 | [](https://www.calamus.xyz)
6 |
7 | ### [截图](http://calamus.wiki/vue-svg-tree/example/index.html)
8 |
9 |
10 | ### [应用](http://calamus.wiki/vue-svg-tree/example/index.html)
11 | ```bash
12 | npm install vue-svg-tree
13 | ```
14 |
15 | ### [示例](http://calamus.wiki/vue-svg-tree/example/index.html)
16 | ```vue
17 |
18 |