Evan You
99a2e18c97
feat(runtime-core): add watchEffect API
...
BREAKING CHANGE: replae `watch(fn, options?)` with `watchEffect`
The `watch(fn, options?)` signature has been replaced by the new
`watchEffect` API, which has the same usage and behavior. `watch`
now only supports the `watch(source, cb, options?)` signautre.
2020-02-22 08:19:10 +01:00
Evan You
6df2aca070
refactor(types): move shapeFlags to shared
2020-02-14 01:36:42 -05:00
Evan You
0b90baec28
test: increase e2e tests timeout
2020-02-05 21:10:43 -05:00
Evan You
c07751fd36
refactor: adjust createApp
related API signatures
...
BREAKING CHANGE: `createApp` API has been adjusted.
- `createApp()` now accepts the root component, and optionally a props
object to pass to the root component.
- `app.mount()` now accepts a single argument (the root container)
- `app.unmount()` no longer requires arguments.
New behavior looks like the following:
``` js
const app = createApp(RootComponent)
app.mount('#app')
app.unmount()
```
2020-01-27 16:00:17 -05:00
CodinCat
2e3c5aaf5f
test(e2e): add test for svg example ( #551 )
2019-12-20 11:56:36 -05:00
CodinCat
abfea8eb45
test(e2e): add test for grid example ( #545 )
2019-12-18 09:19:31 -05:00
Evan You
8ffd79c754
fix(compiler-core): handle template root and template v-if as stable fragments
2019-12-12 21:09:47 -05:00
Evan You
b983c68575
test(e2e): avoid relying on CDN + reduce debounce delay
2019-12-11 10:37:03 -05:00
Evan You
c202bd6ac0
test(e2e): use better mocking strategy for commits example
2019-12-11 10:15:52 -05:00
CodinCat
f48a4f71a7
test(e2e): add e2e test for commits example ( #526 )
...
* test(e2e): add e2e test for commits example
* test(e2e): add waitForResponse to enhance the test
* test(e2e): use mocks for commits test
2019-12-11 09:51:15 -05:00
CodinCat
532d3b68ab
test(e2e): add e2e test for markdown example ( #533 )
2019-12-11 09:13:47 -05:00
CodinCat
12ec62e688
test(e2e): add e2e test for tree example ( #529 )
2019-12-09 14:20:56 -05:00
CodinCat
9b5c4a2ec1
chore: fix debounce of markdown example ( #525 ) [ci skip]
2019-12-09 14:16:44 -05:00
Cédric Exbrayat
65bfe0130c
chore: fix grid composition example ( #519 ) [ci skip]
...
Commit 27a72bd8f1
fixed the example but introduced a useless import.
2019-12-09 14:16:21 -05:00
Evan You
42cdf8c409
test(e2e): extract e2eUtils + test both api styles of todomvc
2019-12-04 12:13:00 +01:00
Evan You
27a72bd8f1
chore: fix example
2019-12-04 11:54:24 +01:00
CodinCat
8ebb503f73
test(e2e): complete e2e test for todomvc ( #517 )
2019-12-04 05:53:51 -05:00
Evan You
74fd6635ce
test(e2e): wip e2e test for todomvc
2019-12-02 18:18:02 -05:00
Evan You
46490ac1a5
chore: more examples
2019-12-02 15:22:04 -05:00
Evan You
e0a9cf5ace
chore: add a few 2.x examples
2019-12-01 23:54:32 -05:00
Cr
3f73b8b6cf
chore: fix composition example ( #369 )
2019-10-25 10:00:55 -04:00
Evan You
fd4845c52c
chore: include todomvc examples (need tests!)
2019-10-24 22:23:08 -04:00