Eduardo San Martin Morote
67901e78ef
test(ssr): add missing test for async component in slot
4 years ago
Volodymyr I
7e5dc6bd9e
fix(ssr): inheritAttrs false adds attributes to html ( #11706 )
4 years ago
Daniel Jun Suguimoto
b8bd149d8a
fix(ssr): textarea keeps undefined/null values ( #11121 )
* fix(ssr): textarea keeps undefined/null values
* refactor(ssr): Code review changes for null values in textareas
4 years ago
krystal
8082d2f910
fix(ssr): fix nested async functional componet rendering ( #9673 )
fix #9643
6 years ago
Evan You
38825ff675
test: add a test case for ssr max stack size limit
6 years ago
Evan You
42fdf3f837
refactor: ssrPrefetch -> serverPrefetch for more consistent naming
6 years ago
Evan You
aef5b4e478
fix(ssr): should render 0 as valid value for style property with unit
6 years ago
Evan You
17d8bcb60e
fix(ssr): should not render invalid numeric style values
Reverts part of 7d9cfebe - browsers only auto append units to
numbers when in quirksmode, so in standard mode, numbers set to
style properties that require units are invalid and should not
be rendered.
6 years ago
Evan You
7d9cfebe39
fix(ssr): properly handle invalid and numeric style properties
Ignores values that are not string or numbers, and append px as default
unit to appropriate properties.
There will still be certain cases where the user simply provides an
invalid string value to a property which will be too costly to detect
(it's possible by using the `cssstyle` package, but very heavy). But
in such cases the user would already notice the style is not working
on the client, so it's not really worth it for the perf implications.
fix #9231
6 years ago
Guillaume Chau
d7a533d6f8
feat(ssr): ssrPrefetch option + context.rendered hook ( #9017 )
6 years ago
Evan You
780dac561b
fix(ssr): should not warn for custom directives that do not have ssr implementation
fix #9167
6 years ago
sqal
a89384c8d9
test(ssr): add basic directives test ( #9166 )
6 years ago
sqal
33e669b22f
fix(ssr): computed properties should pass vm as first argument in ssr ( #9090 )
fix #8977
6 years ago
Evan You
76fd45c9fd
build: upgrade eslint and use only non-stylistic rules
6 years ago
Haoqun Jiang
c21b89ebed
fix(ssr): fix double escaping of staticClass values ( #7859 ) ( #8037 )
6 years ago
Evan You
3d36a443c7
fix: fix potential xss vulnerability in ssr when using v-bind
6 years ago
leon
1a979c44d6
fix(ssr): fix v-show inline style rendering when style binding is array ( #7814 )
fix #7813
7 years ago
Evan You
882e7199fd
fix(ssr): fix SSR for async functional components
fix #7784
7 years ago
Evan You
9b22d86ab3
fix: install ssr helpers for functional context during SSR
close #7443 , ref nuxt/nuxt.js#2565
7 years ago
Evan You
8936b8d9c1
fix(ssr): properly handle errors in async component
fix #6778
7 years ago
Evan You
86e4d7566e
test: add test case for #7223
7 years ago
Evan You
e1657fd7ce
fix(ssr): properly render <select v-model> initial state
fix #6986
7 years ago
Evan You
79c0d7bcfb
fix(ssr): properly render textarea value
partial fix for #6986
7 years ago
Evan You
f2e00f756f
fix: special case for static muted attribute in firefox
fix #6887
7 years ago
Evan You
4ad9a56b22
fix(ssr): should not optimize root if conditions
fix #6907
7 years ago
Evan You
dff85b230a
fix(ssr): handle inline template compilation error
fix #6766
7 years ago
Evan You
f881dd175a
feat(ssr): renderToString return Promise
close #6160
7 years ago
Evan You
09106f066a
fix(ssr): handle v-text/v-html with non-string value
fix #6572
7 years ago
Josh Soref
f477ecdbbb
chore: spelling ( #6535 )
7 years ago
Evan You
06741f3266
fix: computed properties should not be cached during SSR
ref: vuejs/vuex#877
7 years ago
Evan You
db1d047499
chore: remove unnecessary log in tests
7 years ago
Evan You
172dbf9faf
fix(ssr): should also escape static text content
fix #6345
7 years ago
Evan You
5091e2c984
fix(ssr): address possible xss vector
7 years ago
Evan You
6bf97721f1
feat(ssr): inheritAttrs support in SSR
7 years ago
Evan You
0cd6ef321b
feat: resolve ES module default when resolving async components
8 years ago
Evan You
8262edcd22
test for ssr rendering async components
8 years ago
Evan You
f061d802d3
fix v-if false rendering
8 years ago
Evan You
41acdc0ff1
fix v-html/v-text on root element
8 years ago
Evan You
2f4ad14d9f
test template v-if/v-for
8 years ago
宋铄运
38810d8fd0
Support auto-prefixed style value as array (client/ssr) ( #5460 )
* support auto-prefixed style value as array (client/ssr)
* adjust test case
8 years ago
Evan You
1e37633567
fix ssr xss ( fix #5351 )
8 years ago
Evan You
2ea80399da
restructure ssr tests: move template tests into separate file
8 years ago
Evan You
e0a7c1ac68
use data attribute for ssr marker
8 years ago
chengchao
e733e5cee8
fix SSR v-show render. ( #5224 )
* fix SSR v-show bug. v-show info needs to be merged from parent to child component
* improve variable name
* update test case
* update test case
8 years ago
YOU
61930e0cc6
chore(test): fix some typos ( #5101 )
8 years ago
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
c9fbcaf591
remove unnecessary slice in SSR renderStyle (small perf gain)
8 years ago
Evan You
2dc2d062b1
adjust build
8 years ago