File tree 4 files changed +38
-22
lines changed
4 files changed +38
-22
lines changed Original file line number Diff line number Diff line change
1
+ branches :
2
+ only :
3
+ - master
4
+ - dev
5
+ os :
6
+ - linux
7
+ - osx
8
+ # - windows
9
+ language : node_js
10
+ node_js :
11
+ - 12
12
+ addons :
13
+ chrome : stable
14
+ firefox : latest
15
+ cache :
16
+ directories :
17
+ - node_modules
18
+ install :
19
+ - npm install
20
+ script :
21
+ - npm run test:unit -- --coverage --coverageReporters=lcov
22
+ - npm run test:e2e
23
+ after_success :
24
+ - npm install coveralls
25
+ - cat ./coverage/lcov.info | coveralls
Original file line number Diff line number Diff line change 1
1
# vue-tree
2
2
3
- ## Project setup
4
- ```
5
- npm install
6
- ```
3
+ ## Master Branch
4
+ [ ![ Build Status] ( https://travis-ci.com/eidng8/vue-tree.svg?branch=master )] ( https://travis-ci.com/eidng8/vue-tree )
7
5
8
- ### Compiles and hot-reloads for development
9
- ```
10
- npm run serve
11
- ```
6
+ ## Dev Branch
7
+ [ ![ Build Status] ( https://travis-ci.com/eidng8/vue-tree.svg?branch=dev )] ( https://travis-ci.com/eidng8/vue-tree )
8
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/eidng8/vue-tree/badge.svg?branch=dev )] ( https://coveralls.io/github/eidng8/vue-tree?branch=dev )
12
9
13
- ### Compiles and minifies for production
14
- ```
15
- npm run build
16
- ```
17
10
18
- ### Run your unit tests
19
- ```
20
- npm run test:unit
21
- ```
11
+ ## Performance Consideration
22
12
23
- ### Lints and fixes files
24
- ```
25
- npm run lint
26
- ```
13
+ The DOM structure of this component doesn't change once rendered.
14
+ Comparing to others using ` v-if ` , which generate sub-nodes while expanded.
15
+ While working on long list of items, lags will be obvious.
27
16
28
- ### Customize configuration
29
- See [ Configuration Reference] ( https://cli.vuejs.org/config/ ) .
17
+ * This component will have a lag when once it is being rendered. After it is
18
+ rendered, sub-trees are controlled by CSS, no DOM structure happens.
19
+ * ` v-if ` components will lag whenever sub-trees are expanded, every time they
20
+ are expanded.
You can’t perform that action at this time.
0 commit comments