Herrington Darkholme
01151ce3fa
fix #4872 , use context agnostic Function constructor check ( #4928 )
* fix #4872 , use context agnostic Function constructor check
* use getType to check Function Constructor
* fix negation
8 years ago
Evan You
1c79592524
feat: implement template option for vue-server-renderer
8 years ago
Evan You
cfb4d7c655
improve parser warning for tags with no matching close tag
8 years ago
Evan You
bf1f5f18e2
avoid externals warning in ssr tests
8 years ago
Evan You
c2c87419fe
test bundleRenderer bundle format support + source map
8 years ago
Evan You
1baa9d9c6c
upgrade to use webpack 2.2
8 years ago
Evan You
c9fbcaf591
remove unnecessary slice in SSR renderStyle (small perf gain)
8 years ago
Evan You
e0ab042295
add focused test eslint rules for tests
8 years ago
Evan You
2dc2d062b1
adjust build
8 years ago
chengchao
e960cd104e
enable style merge behavior between parent-child components ( fix #3997 ) ( #4138 )
* merge style between components
* update test case
* update style compiler
* add paren to style binding code
* update background property parsing
* introduce interpolation warning and refactor var to const
8 years ago
chengchao
33cf1134ed
Update ssr class render ( fix #4143 ) ( #4146 )
* fix ssr class render
* update test case
8 years ago
Evan You
e5f23d9fa0
fix component attrs/domProps merging in SSR
8 years ago
(´・ω・`)
240df147f1
Generate style on custom component in SSR ( fix #4055 ) ( #4076 )
* fix #4055 , generate style on custom component
* add test for custom component style
* add synthetic data for module processing
8 years ago
Herrington Darkholme
2ac581bb7f
SSR: eliminate closure in render.js implementation
eliminate closure
fix multiple render instances and memory leakage
fix eslint
magically fix flow typing
add multiple render stream test
8 years ago
peisong
9c91190b40
Fix typos. ( #3956 )
8 years ago
Evan You
d362d64633
update entities encoding/decoding ( fix #3899 )
8 years ago
Evan You
0e75fb93df
use component name for SSR caching (also allow full externalization)
8 years ago
Evan You
fe801b16e4
wip: fix $parent after children change
8 years ago
Evan You
22894810df
fix ssr v-bind test
8 years ago
Evan You
351aef3cb4
use comment node as empty placeholder (fix <transition> SSR hydration)
8 years ago
Evan You
b283f53fd0
support :style bind to text in SSR too
8 years ago
Evan You
6f7ec7f04d
add computed property ssr test case
8 years ago
Evan You
5c6c8c7ed0
include compiler in vue-server-renderer
9 years ago
Evan You
bf9c46f435
server.getCacheKey -> serverCacheKey
9 years ago
Evan You
ba3bec824d
SSR: allow user to provide own (possibly async) cache implementation
9 years ago
Evan You
827ac27a96
fix eslint
9 years ago
Evan You
b791c5722f
tests for ssr bundle renderer
9 years ago
Evan You
f20b1a8333
fix ssr test case for init -> beforeCreate change
9 years ago
Evan You
4cf710e56d
update ssr package
9 years ago
Evan You
cfe745e9d2
apply scopeId to slot contents too
9 years ago
Evan You
b1351be073
support _scopeId in SSR
9 years ago
Evan You
b0ad94fc87
properly encode HTML in server-side rendering ( fix #3078 )
9 years ago
Evan You
9438408210
fix SSR tests after preserveWhitespace removal
9 years ago
Evan You
f8daf74640
adjust build
9 years ago
kazuya kawaguchi
8d22ee912e
add ssr custom directive test ( #3030 )
9 years ago
Evan You
5594a7cd3d
tests for v-bind object
9 years ago
Evan You
7ac7cae195
add error handling for srr
9 years ago
Blake Newman
9b59ccc6b4
Fix issue with renderToString stack length overflowing ( #2840 )
* Fix issue with renderToString stack length overflowing
* SSR renderToString asyncronous callback
9 years ago
Blake Newman
35440d9856
SSR warn for no VUE_ENV and add tests ( #2844 )
- Added test coverage for data observation and VUE environment variable
- Moved Test helpers into own folder for reusability
9 years ago
Evan You
76d06ba422
implement $isServer and ssr observation skipping via env variables
9 years ago
Evan You
498448284a
tweak ssr async resolve, revert $forceUpdate change
9 years ago
Evan You
be2e79df27
fix ssr tests
9 years ago
Evan You
5fb1a549d2
make attr behavior more consistent + fix tests
9 years ago
Takuya Tejima
ae78813606
[Vue 2.0] Fix BooleanAttr & EnumeratedAttr serialization ( #2810 )
* fix attr serialization
* Add attribute test cases
9 years ago
Blake Newman
a233e4dbfa
improved SSR rendering
- Reduced duplicated code
- Added more test coverage
- Added syncronous component resolving support
- Fixed component lifecycle
- Added raw render method, to allow custom streaming possibilities
9 years ago
Takuya Tejima
49d5f2f393
Suppress a warning 'Unknown custom element' with SSR <img> tag
9 years ago
Evan You
4191f251af
adjust ssr API so that user can provide server-side implementations for custom directives
9 years ago
Evan You
38540b07e4
add server-rendered mark for ssr output
9 years ago
Evan You
d08cf7c320
streaming renderer!
9 years ago
Evan You
2111709e57
assert setting state in created hook works in ssr
9 years ago