vue
vue copied to clipboard
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
### What problem does this feature solve? When rendering a script tag on server the content is escaped, breaking the js code. ```html var x = "y"; ``` is rendered...
### Version 2.5.22 ### Reproduction link [https://codesandbox.io/s/kx35l39lkv](https://codesandbox.io/s/kx35l39lkv) ### Steps to reproduce Open tab Console ### What is expected? ```html var a = 'a'; var x = "x"; if (a &&...
### Version 2.6.11 ### Reproduction link [https://codesandbox.io/s/ssr-reactivity-up6nh?file=/pages/index.vue](https://codesandbox.io/s/ssr-reactivity-up6nh?file=/pages/index.vue) ### Steps to reproduce - The id attribute of the `div` does not match the myid value from the component (requires page refresh...
### What problem does this feature solve? https://github.com/vuejs/vetur/issues/276 Currently, Vetur offers auto-completion & hover info for custom components defined in ElementUI, OnsenUI and Bootstrap-Vue. However, hand-maintaining such json files seem...
### What problem does this feature solve? Currently when using the v-show directive server-side it produces style="display:none;" attributes on HTML elements. These collide with using a nonce-based CSP (content security...
**What kind of change does this PR introduce?** (check at least one) - [ ] Bugfix - [ ] Feature - [ ] Code style update - [ ] Refactor...
### Version 2.6.11 ### Reproduction link [https://codepen.io/ksh-code/pen/wvzXmEB](https://codepen.io/ksh-code/pen/wvzXmEB) ### Steps to reproduce click update button multiple times then value'll be set 0. ### What is expected? if value 0, then render...
Previously, the "Invalid prop type" warning message returned by the property validator did not include the name of the offending property. In certain scenarios this obscurity can make it difficult...
**What kind of change does this PR introduce?** (check at least one) - [ ] Bugfix - [ ] Feature - [ ] Code style update - [ ] Refactor...
### What problem does this feature solve? Components with multiple properties might fail property validation at the most inopportune time: assigning one property will trigger property validation for all `function...