Skip to content

Commit b1c3a0e

Browse files
authored
Merge pull request #3 from eidng8/dev
Dev
2 parents bfe5db9 + 9ff6310 commit b1c3a0e

File tree

4 files changed

+38
-22
lines changed

4 files changed

+38
-22
lines changed

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

README.md

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,20 @@
11
# vue-tree
22

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)
75

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)
129

13-
### Compiles and minifies for production
14-
```
15-
npm run build
16-
```
1710

18-
### Run your unit tests
19-
```
20-
npm run test:unit
21-
```
11+
## Performance Consideration
2212

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.
2716

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.

tests/e2e/custom-assertions/.gitkeep

Whitespace-only changes.

tests/e2e/page-objects/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)