Evan You
d855027741
test: more test cases for $slot usage detection
6 years ago
Evan You
1e5174d213
test: add more test case for watch option
6 years ago
Evan You
8b382b3efb
fix: allow _ in watch paths (element compat)
6 years ago
Evan You
5fb23d4e29
fix: ensure only nromalize a scoped slot when it is present
6 years ago
Evan You
4c2c6f03dc
build: fix dev:cjs script
6 years ago
Evan You
8eea6b07c4
refactor: avoid using immutable object for $slot
libs like Avoiraz assumes $slots is mutable, need backwards
compat.
6 years ago
Evan You
3be1c5d67e
feat(config): expose config.useEventDelegation and default to false
6 years ago
Evan You
02f897a4bc
chore: fix flow
6 years ago
Evan You
d2902ca8ec
feat: support .property shorthand syntax for v-bind.prop modifier
close #7582
6 years ago
Evan You
23a145952c
refactor: adjust #7941 for slots unification
6 years ago
Eduardo San Martin Morote
fb6aa06090
feat(functional): add scopedSlots to context in functional components ( #7941 )
6 years ago
Evan You
5d52262f1c
feat(core): expose all slots on $scopedSlots as functions
After this change, users using render functions can always make use
of slots via `this.$scopedSlots` without worrying about whether the
slot is being passed in as scoped or not.
This should also make it easier to migrate to 3.0 where all slots are
exposed as functions that return Array of VNodes on `this.$slots`.
6 years ago
vue-bot
cf42f8e870
chore: update sponsors [ci skip] ( #9296 )
[automated] Patreon sponsors update
6 years ago
Evan You
7988a5541c
feat: support scoped-slot usage with $slot
6 years ago
Evan You
9132730035
refactor(codegen): simplify conditions
6 years ago
Evan You
583dd01158
refactor(parser): move element self processing to after children
This allows element processing logic to be based on its sub tree
content, e.g. $slot usage detection
6 years ago
Evan You
d278da20a0
test: fix LRU upgrade
6 years ago
Evan You
bbfeb039f3
build: bump dev deps
6 years ago
Evan You
ab2b1f16f4
chore: update sponsors
6 years ago
Evan You
75a2b4cd42
chore: update sponsors
6 years ago
Evan You
05fbc3602f
chore: update backers
6 years ago
Evan You
c117e8f25e
chore: update backers
6 years ago
Evan You
ce35159d6d
chore: fix types
6 years ago
Evan You
c7c13c2a15
fix(scoped-slots): ensure $scopedSlots calls always return Arrays
Also allow render functions to return an Array of a single element.
Close #8056
6 years ago
Evan You
d747469e1a
test: test case for v-for native collection support
6 years ago
Evan You
7a9290421d
build: fix chrome headless on CI
6 years ago
Evan You
85d8ad64aa
build: use headless chrome by default for unit tests
6 years ago
Jeremy Dubois
d40eb9c288
feat(v-for): support iterables in v-for ( #8179 )
6 years ago
Evan You
e1abedb9e6
feat(compiler): add whitespace option, deprecate preserveWhitespace option
close #9208
6 years ago
Pak Youngrok
9c718522ba
feat(compiler/watch): allow unicode characters in component names and watch paths ( #8666 )
close #8564
6 years ago
Evan You
325fc7693c
feat(compiler): output codeframe in browser compiler
6 years ago
Evan You
3883f1f69c
chore: update deps
6 years ago
Jason
b31a1aa887
feat(compiler): output source range for compiler errors ( #7127 )
ref #6338
6 years ago
Evan You
d08b49f520
fix: make transition-group key warning a tip to avoid breaking compilation
6 years ago
Evan You
1c105fb16c
test: fix test case for #8297
6 years ago
Divya
3fca52792e
feat: v-bind.sync also listens for kebab-case update event ( #8297 )
fix #6428
6 years ago
Mathieu TUDISCO
0e4e45ec74
feat: support custom toString() in text interpolation and v-html ( #8217 )
close #8093
6 years ago
Hiroki Osame
1933ee80ff
fix(provide/inject): Merges symbol provides ( #7926 )
6 years ago
Evan You
5ab028a912
refactor: speed up injection resolution
6 years ago
Zhenfei You
bf0efb02b1
feat(compiler): support deindent: false in vue-template-compiler ( #7215 )
close #7054
6 years ago
GU Yiling
a981c80d2a
feat: support v-html for SVG elements ( #8652 )
6 years ago
Alejandro Maguey
22ad266151
fix(runtime): DevTools recommendation shows for all browsers ( #8638 )
Close #8634
6 years ago
Evan You
44940121ee
feat(ssr): add custom state serializer option
close #6614
6 years ago
Evan You
7ebabe2392
test: test for #8790
6 years ago
Evan You
ab24285458
feat(ssr): allow opting-out of caching by returning false in serverCacheKey
close #8790
6 years ago
Guillaume Chau
d7a533d6f8
feat(ssr): ssrPrefetch option + context.rendered hook ( #9017 )
6 years ago
Hyunje Jun
f036cce163
feat(ssr): Add 'nonce' option to context for ssr outlet script ( #8047 )
close #7479
6 years ago
Evan You
9432737cf8
fix: cover more cases in v-on inline return value
6 years ago
Evan You
0ebb0f39df
fix: return inline invocation return value in v-on handlers
close #7628
6 years ago
Evan You
b00868c5cb
refactor: extract async error handling logic
6 years ago