owner stringclasses 14
values | repo stringclasses 14
values | id int64 116k 4.61B | issue_number int32 1 181k | author stringlengths 1 39 | body stringlengths 1 262k | created_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:16:18 | updated_at timestamp[us]date 2000-06-06 02:40:44 2026-06-02 20:22:56 | reactions unknown | author_association stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|
vuejs | core | 896,483,050 | 4,300 | zengjie911 | > your repro link is borken
I add code and description in steps to reproduce,just general idea,thank you | 2021-08-11T04:06:10 | 2021-08-11T04:06:10 | {} | NONE |
vuejs | core | 895,096,231 | 4,277 | axetroy | ### api.ts
```ts
import axios, { AxiosRequestConfig } from "axios";
import { onUnmounted, getCurrentInstance } from 'vue'
import { message } from "ant-design-vue";
import type { IAgentInfo } from "@/lib/Socket";
import { store } from "@/store";
import { router } from "@/route";
type disposable = typeof onUn... | 2021-08-09T09:58:53 | 2021-08-09T09:58:53 | {} | NONE |
vuejs | core | 895,488,650 | 4,255 | yyx990803 | The cost seems reasonable to support edge cases. Note this doesn't affect codegen of `v-memo` + `v-for`, which is ok because in that case the memo array should be a new array for each item anyway. | 2021-08-09T19:38:58 | 2021-08-09T19:38:58 | {} | MEMBER |
vuejs | core | 896,075,758 | 4,296 | posva | BTW don't use `this` in templates | 2021-08-10T14:25:38 | 2021-08-10T14:25:38 | {} | MEMBER |
vuejs | core | 896,506,279 | 4,300 | edison1105 | @zengjie911
please make sure the version of `@vue/compiler-sfc` is 3.2.1 too.
if it's not, update it to 3.2.1 and remove the yarn.lock file and re-install deps. | 2021-08-11T05:13:24 | 2021-08-11T05:13:24 | {
"+1": 1
} | MEMBER |
vuejs | core | 896,720,316 | 4,304 | posva | Hello, make sure to always provide a reproduction that follows the instructions at https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro.
Open a new issue with a reproduction that follows those instructions if you manage to create a build down reproduction. | 2021-08-11T10:54:38 | 2021-08-11T10:54:38 | {} | MEMBER |
vuejs | core | 896,886,449 | 4,309 | yyx990803 | If the child components are compiled under custom elements mode, it's probably better to register them and use them as custom elements.
That said, this could be a use case where the library author don't want to pre-determine the tags the elements are registered as. Unfortunately this PR wouldn't cover the case if ch... | 2021-08-11T14:41:05 | 2021-08-11T14:41:05 | {} | MEMBER |
vuejs | core | 896,887,134 | 4,308 | dependabot[bot] | OK, I won't notify you about path-parse again, unless you re-open this PR or update it yourself. 😢 | 2021-08-11T14:41:55 | 2021-08-11T14:41:55 | {} | CONTRIBUTOR |
vuejs | core | 897,314,358 | 4,312 | jzs11 | I have facing a similar issue with vuedraggable ^4.0.3


 => {
if (shouldSkipUnMountedHooks) return
// ...
})
function cancelUnmountedHook() {
shouldSkipUnmountedHooks = true
}
```
You could even write your own onUnmounted function:
```js... | 2021-08-09T08:14:33 | 2021-08-09T08:15:00 | {} | MEMBER |
vuejs | core | 895,092,250 | 4,223 | posva | What is this for? It's linking a closed issue | 2021-08-09T09:51:10 | 2021-08-09T09:51:10 | {} | MEMBER |
vuejs | core | 895,190,591 | 4,262 | posva | Thanks for the repro. I actually misread this issue, the different behavior is indeed a bug.
> no where in the docs it is indicated that flip has to be reactive
There are: non-reactive variable changes don't trigger template updates in general. In this case, it makes no difference because other variables are trig... | 2021-08-09T12:42:30 | 2021-08-09T12:42:30 | {
"+1": 1
} | MEMBER |
vuejs | core | 895,431,388 | 4,284 | yyx990803 | I can see the argument but changing it would technically be a breaking change.
The JSX transform seems to compile both to array children and should not be affected: https://vue-next-jsx-explorer.netlify.app/#%3C%3E%0A%20%20%3Cdiv%3E%7Bfalse%7D%7Bfalse%7D%3C%2Fdiv%3E%0A%20%20%3Cdiv%3E%7Bfalse%7D%3C%2Fdiv%3E%0A%3C%2F%... | 2021-08-09T18:10:45 | 2021-08-09T18:10:45 | {} | MEMBER |
vuejs | core | 895,856,349 | 2,349 | benavern | Hi,
I was using the `vnode.context.$on('hook:activated')` too in vue 2 in a custom directive. I am migrating to vue 3 and this is not working anymore because there is no $on, $off, $once methods anymore. ([but the event is still emitted!](https://github.com/vuejs/vue-next/blob/d045055b475f76624830ed594dd138ac71eccd4e/... | 2021-08-10T08:59:54 | 2021-08-10T08:59:54 | {} | NONE |
vuejs | core | 895,975,349 | 4,291 | edison1105 | your repro link is broken. | 2021-08-10T12:09:55 | 2021-08-10T12:09:55 | {} | MEMBER |
vuejs | core | 896,128,949 | 4,261 | gnuletik | Awesome ! Thanks for the super fast fix @yyx990803 and congrats for the 3.2 release ! | 2021-08-10T16:27:35 | 2021-08-10T16:27:35 | {} | NONE |
vuejs | core | 896,499,038 | 4,300 | zengjie911 | > The code you posted [works fine on the playground for me](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aDE+eHh4PC9oMT5cbjwvdGVtcGxhdGU+XG5cbjxzY3JpcHQgc2V0dXA+XG5pbXBvcnQgeyBkZWZpbmVFbWl0cyB9IGZyb20gJ3Z1ZSc7XG4gIGNvbnN0IGVtaXQgPSBkZWZpbmVFbWl0cyhbXCJjbGlja1wiXSk7IFxuICBjb25zb2xlLmxvZyhlbWl0KTtcbjwvc2Nya... | 2021-08-11T04:53:57 | 2021-08-11T04:53:57 | {} | NONE |
vuejs | core | 896,524,601 | 4,300 | zengjie911 | > @zengjie911
> I mean `@vue/compiler-sfc ` not 'vue'.
just the version of @vue/compiler-sfc'problem,i update the version,just ok,thank you | 2021-08-11T05:57:40 | 2021-08-11T05:57:40 | {} | NONE |
vuejs | core | 897,235,834 | 4,317 | edison1105 | as a workaround use v-bind instead, see [sfc](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aDEgc3R5bGU9XCJmb250LXNpemU6IDM0cHhcIiB2LWJpbmQ9XCJ7c3R5bGU6eydmb250LXdlaWdodCc6ICdibG9kJ319XCI+SGVsbG8gV29ybGQ8L2gxPlxuPC90ZW1wbGF0ZT5cblxuPHNjcmlwdCBzZXR1cD5cbmNvbnN0IG1zZyA9ICdIZWxsbyBXb3JsZCEnXG48L3NjcmlwdD4ifQ=... | 2021-08-11T23:51:33 | 2021-08-11T23:51:33 | {
"+1": 1
} | MEMBER |
vuejs | core | 895,894,173 | 3,962 | jods4 | Would be nice to merge this PR if it's ready, or maybe keep the related issue #4016 open.
It was closed more than one month ago but it's not fixed in every release that happened since then. | 2021-08-10T09:56:04 | 2021-08-10T09:56:04 | {} | CONTRIBUTOR |
vuejs | core | 896,494,271 | 4,300 | LinusBorg | The code you posted [works fine on the playground for me](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aDE+eHh4PC9oMT5cbjwvdGVtcGxhdGU+XG5cbjxzY3JpcHQgc2V0dXA+XG5pbXBvcnQgeyBkZWZpbmVFbWl0cyB9IGZyb20gJ3Z1ZSc7XG4gIGNvbnN0IGVtaXQgPSBkZWZpbmVFbWl0cyhbXCJjbGlja1wiXSk7IFxuICBjb25zb2xlLmxvZyhlbWl0KTtcbjwvc2NyaXB... | 2021-08-11T04:37:42 | 2021-08-11T04:38:51 | {} | MEMBER |
vuejs | core | 896,506,657 | 4,300 | LinusBorg | You really need to provide the code that produces this error. | 2021-08-11T05:14:18 | 2021-08-11T05:14:18 | {} | MEMBER |
vuejs | core | 896,518,266 | 4,300 | edison1105 | @zengjie911
I mean `@vue/compiler-sfc ` not 'vue'.
| 2021-08-11T05:45:22 | 2021-08-11T05:45:22 | {} | MEMBER |
vuejs | core | 896,924,017 | 4,309 | LinusBorg | > If the child components are compiled under custom elements mode, it's probably better to register them and use them as custom elements.
Generally I'd agree, but for tightly coupled components you wouldn't be able to use provide/Inject any longer, which is quite common in these scenarios.
> If the child componen... | 2021-08-11T15:27:24 | 2021-08-11T15:27:41 | {} | MEMBER |
vuejs | core | 895,050,167 | 4,223 | webfansplz | Hi @posva , May I ask the progress of this PR? | 2021-08-09T08:43:33 | 2021-08-09T08:43:33 | {} | MEMBER |
vuejs | core | 895,256,290 | 4,277 | axetroy | > The way you are using the hook is suboptimal because you are tightly coupling the Http class to Vue-specific implementation details
agree! 👍
I totally agree with you, I thought so at the beginning
It may be that I have obsessive-compulsive disorder, and I don’t want to have an uncontrolled "subscription" | 2021-08-09T14:09:49 | 2021-08-09T14:10:26 | {} | NONE |
vuejs | core | 895,384,818 | 4,283 | posva | Use this: https://v3.vuejs.org/api/application-config.html#globalproperties
---
Please, next time consider using the [forum](http://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js) for questions first. But feel free to come back and open an... | 2021-08-09T16:59:42 | 2021-08-09T16:59:42 | {} | MEMBER |
vuejs | core | 895,811,016 | 4,098 | ctrlplusb | Would love this. I have had to write a utility to narrow the event types at the moment but would prefer to avoid the additional boilerplate. | 2021-08-10T07:51:25 | 2021-08-10T07:51:25 | {
"+1": 1
} | NONE |
vuejs | core | 896,412,181 | 4,299 | edison1105 | 你要提供一个最小可以复现的demo。我们才能帮你解决问题。 | 2021-08-11T00:54:11 | 2021-08-11T00:54:11 | {} | MEMBER |
vuejs | core | 896,628,155 | 4,242 | Shinigami92 | Seems you missed one place 🙁
https://github.com/vuejs/vue-next/blob/e42d7794cb3546eec89629ed1202433a91d96047/packages/runtime-dom/types/jsx.d.ts#L1308
Could we fix this also? | 2021-08-11T08:44:18 | 2021-08-11T08:44:18 | {} | CONTRIBUTOR |
vuejs | core | 894,888,910 | 4,275 | edison1105 | > In particular, what does an alias to the "the right build of Vue" mean?
In order to use the functionality of the vue.js template, you need to load the finished package with the compiler and runtime, but vue.js by default loads the runtime only version, so you need to explicitly specify the version (vue.esm-bundler... | 2021-08-09T00:54:09 | 2021-08-09T00:54:09 | {} | MEMBER |
vuejs | core | 894,984,840 | 4,278 | LinusBorg | duplicate of #4277 | 2021-08-09T06:39:30 | 2021-08-09T06:39:30 | {} | MEMBER |
vuejs | core | 895,357,380 | 4,276 | yyx990803 | Thanks for the PR, but this actually reveals a test case failure that requires additional changes to the regex. See 88a4504e | 2021-08-09T16:18:14 | 2021-08-09T16:18:14 | {
"+1": 1
} | MEMBER |
vuejs | core | 896,197,163 | 4,292 | yyx990803 | Please avoid non-trivial refactors if it is not fixing a bug or providing substantial improvements. | 2021-08-10T17:58:54 | 2021-08-10T17:58:54 | {} | MEMBER |
vuejs | core | 896,517,176 | 4,290 | webfansplz | > Can you add a test case in https://github.com/vuejs/vue-next/blob/master/test-dts/defineComponent.test-d.tsx ?
@yyx990803 done~ | 2021-08-11T05:42:28 | 2021-08-11T05:42:28 | {} | MEMBER |
vuejs | core | 896,524,745 | 4,300 | zengjie911 | > @edison1105 compiler-sfc is 3.2.1, after it's ok. Thanks.
yes,i update the version,is ok,thank you | 2021-08-11T05:58:06 | 2021-08-11T05:58:06 | {} | NONE |
vuejs | core | 896,743,160 | 4,298 | ghost | Why doesn't @vue/compat throw an error or warning since the first argument is createElement? And why does it fail anyway? @vue/compat in mode = 2 is supposed to be compatible with Vue 2. | 2021-08-11T11:20:18 | 2021-08-11T11:20:18 | {} | NONE |
vuejs | core | 896,952,133 | 4,310 | posva | I'm marking this as a bug but I suspect this is like v-memo: it wasn't supposed to be used on the children of the v-for but on the v-for directly (https://github.com/vuejs/vue-next/issues/4262) | 2021-08-11T16:03:00 | 2021-08-11T16:03:29 | {} | MEMBER |
vuejs | core | 998,649,624 | 5,142 | henrycunh | > This was intentionally left out and discussed in the relevant RFCs
can you link those here? | 2021-12-21T10:15:02 | 2021-12-21T10:15:02 | {} | NONE |
vuejs | core | 999,367,647 | 5,147 | posva | What you have is a pug syntax issue. It works fine when written in HTML as shown on the SFC. I'm not a pug expert, but you can just write `v-model="row['item']", or `v-model='row.item'`. | 2021-12-22T08:08:07 | 2021-12-22T08:08:07 | {} | MEMBER |
vuejs | core | 1,000,622,211 | 5,105 | caozhong1996 | Yep, the current version of vue can't. I mean that this pr seems supported, but I haven't really tried😁
https://github.com/vuejs/vue-next/pull/5105/files#diff-28ccce6931cf4b4364f58400b93e2ae8efe180a82f885444bb5704574025a4d0L182-R183
| 2021-12-24T02:55:41 | 2021-12-24T02:55:41 | {} | CONTRIBUTOR |
vuejs | core | 1,000,628,427 | 5,164 | ygj6 | This is because the program is optimized in prod mode,the HelloWorld component is compiled into:
```js
const _sfc_main$1 = {
setup(__props) {
return (_ctx, _cache) => {
return openBlock(), createBlock(_sfc_main$2, { opt2: "4321" }, {
default: withCtx(() => [
createCommentVNode("", t... | 2021-12-24T03:16:39 | 2021-12-24T03:16:39 | {} | MEMBER |
vuejs | core | 1,002,368,246 | 5,178 | paul-xia | > #5105 #4339 When the data is huge, it does really necessary, there are two linked PR. 当数据量巨大的时候,这确实很有必要,已经有两个相关的提交了
确实这不是最优雅的解决方案,keepAlive的include如果加上对key支持也可以实现管理,但目前还不知道在哪个版本能上这个功能,解决大家都头痛了很久很久的问题。[笑cry] | 2021-12-29T02:39:27 | 2021-12-29T02:39:59 | {} | NONE |
vuejs | core | 1,002,532,510 | 4,733 | mbrodala | Another approach is a runtime match using the [`:empty` CSS pseudo class](https://developer.mozilla.org/en-US/docs/Web/CSS/:empty):
```html
<template>
<div v-if="hasContent">
<div ref="content">
<slot/>
</div>
</div>
</template>
<script>
export default {
data () {
... | 2021-12-29T10:47:59 | 2021-12-29T11:34:43 | {} | NONE |
vuejs | core | 999,296,305 | 5,147 | Lsnsh | @posva Thanks for your reply, I forgot to describe the four examples written in my code:
1. Double quotes outside, Single quotes inside
1.1. `:title="row['item1']"`
1.2. `v-model="row['item1']"`
2. Single quotes outside, double quotes inside
2.1. `:title='row["item2"]'`
2.2. `v-model='row["item2"]'`
... | 2021-12-22T05:23:09 | 2021-12-22T05:23:09 | {} | NONE |
vuejs | core | 999,391,772 | 5,110 | UDK | The problem is reproduced in the same way inside Suspense | 2021-12-22T08:42:39 | 2021-12-22T08:42:39 | {} | NONE |
vuejs | core | 1,000,088,875 | 5,126 | zhangyuang | I use cheerio to insert node, but the dom struct still not match with server side `comment node`
```js
const ctx = {}
let html = await renderToString(app, ctx)
const $ = cheerio.load(html)
for (const target in ctx.teleports) {
const content = ctx.teleports[target]
$(target).append(content)
}
... | 2021-12-23T07:01:45 | 2021-12-23T07:01:52 | {} | CONTRIBUTOR |
vuejs | core | 1,000,410,658 | 5,161 | cexbrayat | Rebased on top of #5162 to have a proper CI result | 2021-12-23T16:29:35 | 2021-12-23T16:29:35 | {} | MEMBER |
vuejs | core | 1,001,160,219 | 5,168 | LinusBorg | I don't think `v-for` is the problem. The problem is that when a transition-group updates (here: the v-for items where changed), one of the child elements is a component still that has a comment as a placeholder element because of a `v-if` inside it.
While TransitionGroup skips comment nodes from direct children (i.... | 2021-12-26T11:28:47 | 2021-12-26T11:28:47 | {} | MEMBER |
vuejs | core | 998,933,867 | 4,707 | runxc1 | Yes! I hadn't thought of changing from a v-if to a v-show but after going through the various elements that I could change from a v-if to a v-show I was able to get rid of the error. It seems that vue3 has some error with removing an element and putting it back on the page. I couldn't remove all v-if statements a... | 2021-12-21T16:46:20 | 2021-12-21T16:46:20 | {
"heart": 1,
"hooray": 1
} | NONE |
vuejs | core | 999,694,028 | 4,314 | catsmeatman | Please merge this PR. It's very useful function. | 2021-12-22T16:10:18 | 2021-12-22T16:10:18 | {
"+1": 12
} | NONE |
vuejs | core | 1,000,108,883 | 5,156 | yyx990803 | If you are not using TS, you can actually import the props/emits definitions and share them, because they are runtime objects. Vue doesn't need to process them in SFCs.
When using TS-based declarations, currently it doesn't support importing external types/interfaces, but it's on the roadmap. I believe there is also... | 2021-12-23T07:47:21 | 2021-12-23T07:47:53 | {} | MEMBER |
vuejs | core | 1,000,426,489 | 5,163 | Pentadome | Yeah sorry for the quick post. But it also produces a compile error | 2021-12-23T17:01:56 | 2021-12-23T17:01:56 | {} | CONTRIBUTOR |
vuejs | core | 1,000,591,942 | 5,157 | yushk | > Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the [forum](http://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js).
>
> —-
>
> You should probably remove the key attr... | 2021-12-24T01:03:50 | 2021-12-24T01:03:50 | {} | NONE |
vuejs | core | 1,000,629,442 | 5,164 | ygj6 | In dev mode, the HelloWorld component is compiled into:
```js
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return (_openBlock(), _createBlock($setup["Comp1"], { opt2: "4321" }, {
default: _withCtx(() => [
false
? (_openBlock(), _createBlock($setup["Comp2"], { key: 0 })... | 2021-12-24T03:19:47 | 2021-12-24T03:19:47 | {} | MEMBER |
vuejs | core | 1,000,983,672 | 5,170 | SunsetFeng | thanks @caozhong1996 | 2021-12-25T07:08:39 | 2021-12-25T07:08:39 | {} | NONE |
vuejs | core | 1,001,031,251 | 5,171 | posva | Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the [forum](http://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js). | 2021-12-25T15:01:53 | 2021-12-25T15:01:53 | {
"confused": 1
} | MEMBER |
vuejs | core | 1,001,549,677 | 5,171 | ygj6 | @builder555 Try `yarn add sass-loader --save`, maybe it could help you. | 2021-12-27T12:36:58 | 2021-12-27T12:36:58 | {} | MEMBER |
vuejs | core | 1,001,584,225 | 5,171 | builder555 | @ygj6 yup, tried using yarn as well - same error. | 2021-12-27T14:04:32 | 2021-12-27T14:04:32 | {} | NONE |
vuejs | core | 1,002,396,402 | 5,180 | adamreisnz | My bad, you were right this was environmental. Turned out the event default was being prevented in the unhandledrejection listener with `event.preventDefault()`
Sorry for the noise, will leave this up in case someone else stumbles upon a similar issue. | 2021-12-29T04:50:19 | 2021-12-29T04:50:29 | {} | NONE |
vuejs | core | 1,000,082,210 | 5,151 | eddeisling | Thanks for work around and answer!
For me "onInvalidate" means callback that fired when "valid" state changes to "invalid". Right now this callback may be called even when "state" has already "invalid". This cause some weirdness.
But yeah, the existing code matters here...
| 2021-12-23T06:44:18 | 2021-12-23T06:44:18 | {} | NONE |
vuejs | core | 1,000,618,368 | 5,160 | slepher | reproduce repo link updated
https://github.com/slepher/vue_next_h_tslint_fail | 2021-12-24T02:40:44 | 2021-12-24T02:40:44 | {} | NONE |
vuejs | core | 1,000,982,003 | 5,170 | caozhong1996 | The `SubmitEvent` interface was added in version 4.4, the version of vue-cli's tsc is 4.1😅

` are used to declare configuration, not logic. I don't think it's good practice to omit configuration. | 2021-12-23T02:06:02 | 2021-12-23T02:06:02 | {} | CONTRIBUTOR |
vuejs | core | 1,000,107,526 | 5,155 | yyx990803 | Firefox throws an error as part of es-module-shims' feature detection process - it is an expected error, so we filter it in `@vue/repl` based on the message. But you are using a non-English version of FF that throws the error in another language, so it is not able to filter it. It doesn't really affect the usage though... | 2021-12-23T07:44:18 | 2021-12-23T07:44:18 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,000,205,760 | 5,156 | way2ex | > Honestly, we can't now. Let's look at it from the other point of view, `defineProps` & `defineExpose()` are used to declare configuration, not logic. I don't think it's good practice to omit configuration.
yes, it's no logic, but it may be some useful if we can extract the configuration into one file and write so... | 2021-12-23T10:37:25 | 2021-12-23T10:37:25 | {} | NONE |
vuejs | core | 1,000,600,169 | 5,163 | caozhong1996 | Maybe you should provide a runnable repo😂 | 2021-12-24T01:32:21 | 2021-12-24T01:32:21 | {} | CONTRIBUTOR |
vuejs | core | 1,001,140,013 | 5,153 | posva | As a workaround, using new lines (which is the automatic behavior of formatters), [works as expected](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiB9IGZyb20gJ3Z1ZSdcbmNvbnN0IGl0ZW1zID0gcmVmKFtcblx0e1xuICAgIGtleTogMSxcbiAgICB0aXRsZTogXCJcIixcbiAgICBjaGlsZHJlbjogW1wiaGVsbG9cIiwgXCJ3b3JsZFw... | 2021-12-26T09:51:05 | 2021-12-26T09:51:05 | {} | MEMBER |
vuejs | core | 1,001,646,301 | 5,174 | posva | I would say you need to use Suspense like you show since it’s required for async setup | 2021-12-27T16:31:33 | 2021-12-27T16:31:33 | {} | MEMBER |
vuejs | core | 1,001,899,303 | 5,131 | Justineo | Maybe I came to this PR from an obsolete mail notification (this commit I think https://github.com/vuejs/vue-next/pull/5131/commits/f0ac51e2b56a533c7228445819cbbf614202cc05). | 2021-12-28T06:55:32 | 2021-12-28T06:56:17 | {} | MEMBER |
vuejs | core | 999,373,546 | 5,149 | posva | You need to use `<Suspense>` as a parent component of the ones using `await` in `setup`
---
Please, next time consider using the [forum](http://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js) for questions first. But feel free to come back... | 2021-12-22T08:18:19 | 2021-12-22T08:18:19 | {} | MEMBER |
vuejs | core | 1,000,143,246 | 5,158 | yyx990803 | Can't reproduce, make sure you are installing from a fresh project. | 2021-12-23T08:53:39 | 2021-12-23T08:53:39 | {} | MEMBER |
vuejs | core | 1,000,737,625 | 5,105 | huangqian0310 | > 是的,当前版本的 vue 不能。我的意思是这个公关似乎受支持,但我还没有真正尝试过😁 https://github.com/vuejs/vue-next/pull/5105/files#diff-28ccce6931cf4b4364f58400b93e2ae8efe180a82f885444bb5704574025a4d0L182-R183
I'm sorry to misunderstand your idea | 2021-12-24T09:05:22 | 2021-12-24T09:05:22 | {} | NONE |
vuejs | core | 1,000,969,667 | 5,170 | caozhong1996 | Can't reproduce. Maybe you should provide a runnable repo. | 2021-12-25T04:05:51 | 2021-12-25T04:05:51 | {} | CONTRIBUTOR |
vuejs | core | 1,001,230,775 | 5,168 | adamreisnz | Actually it won't, because if I create a nested transition for the bar
element or others, then it will break the move transition effect that I
have and am using for the group.
Instead, the bar item will transition itself fine, but the rest of the
items in the group will just be moved into their new place in an abrupt ... | 2021-12-26T19:28:49 | 2021-12-26T19:28:49 | {} | NONE |
vuejs | core | 1,002,254,511 | 5,180 | LinusBorg | You must have a problem with your project setup, as this is what I see:

...and you see a stack trace in the playground as well.
Feel free to open a new issue here (or maybe in the Vue CLI repo, depend... | 2021-12-28T19:39:51 | 2021-12-28T19:40:07 | {} | MEMBER |
vuejs | core | 1,003,009,703 | 5,186 | SakuOtonashi | >
Oh, I see, thank you. | 2021-12-30T12:32:33 | 2021-12-30T12:32:33 | {} | NONE |
vuejs | core | 1,000,113,233 | 5,009 | yyx990803 | Because this is a low-priority edge case and we have other higher priority things to work on. Please be patient. | 2021-12-23T07:56:44 | 2021-12-23T07:57:29 | {} | MEMBER |
vuejs | core | 1,000,741,465 | 5,105 | caozhong1996 | Never mind, bro | 2021-12-24T09:12:00 | 2021-12-24T09:12:00 | {} | CONTRIBUTOR |
vuejs | core | 1,001,014,229 | 5,172 | yfmei | Sorry, the error is "Cannot find module '..\packages\ref-transform\package.json'" | 2021-12-25T12:55:53 | 2021-12-25T12:55:53 | {} | CONTRIBUTOR |
vuejs | core | 1,001,140,125 | 5,152 | posva | Duplicate of https://github.com/vuejs/vue-next/issues/4718 | 2021-12-26T09:52:06 | 2021-12-26T09:52:06 | {} | MEMBER |
vuejs | core | 1,001,877,506 | 4,320 | soylomass | @CHJ1993 Were you able to solve this? | 2021-12-28T05:30:33 | 2021-12-28T05:30:33 | {} | NONE |
vuejs | core | 1,001,887,347 | 5,131 | Justineo | Only `git add` those files that you want to change. Current changes seems to be fine. | 2021-12-28T06:11:10 | 2021-12-28T06:56:02 | {} | MEMBER |
vuejs | core | 1,002,985,591 | 5,187 | adamjedlicka | Closes #4440 | 2021-12-30T11:19:28 | 2021-12-30T11:19:28 | {} | CONTRIBUTOR |
vuejs | core | 1,003,112,498 | 5,190 | LinusBorg | This is kind of an exotic use case that can be entirely solved in user land:
```html
<div v-bind="$props">
```
if you need to filter for those you want visible (i.e. you only want props with primitive values):
```js
const visibleProps = computed(() => _.pick(props, ['size']))
```
```html
< div v-bind="vi... | 2021-12-30T17:08:56 | 2021-12-30T17:09:11 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,000,794,214 | 5,160 | LinusBorg | The problem is quite simple, the type errror message in a render function is unfortunately not very helpful as it's too large.
Your code should look like this:
```ts
setup(props, { slots }) {
return () => {
return h(TestComponent, { submit: props.submit! }, () =>
slots.default ? slots.de... | 2021-12-24T11:08:15 | 2021-12-24T11:09:01 | {} | MEMBER |
vuejs | core | 1,000,942,702 | 5,168 | adamreisnz | The interesting thing is that this error only seems to occur if you have both the `v-for` rendered list of items, and the component with `v-if` together in the same transition group.
If you take either of them out, everything works as expected. | 2021-12-24T22:45:38 | 2021-12-24T22:45:38 | {} | NONE |
vuejs | core | 1,000,943,477 | 5,168 | adamreisnz | Further testing reveals that using `v-show` instead of `v-if` in the child components does not result in the same problem, so this is an acceptable workaround for now. | 2021-12-24T22:54:59 | 2021-12-24T22:54:59 | {} | NONE |
vuejs | core | 999,557,057 | 5,110 | LinusBorg | I disagree. Feel free to provide a reproduction in a new issue though. | 2021-12-22T12:56:50 | 2021-12-22T12:56:50 | {} | MEMBER |
vuejs | core | 999,591,650 | 5,147 | Lsnsh | 谢谢你的建议,我们知道:
在 `<template lang="pug">` 中,使用方括号语法设置 `HTML` 标签或 `Vue` 组件属性值,常见的两种语法:
3. 双引号在外,单引号在内
3.1. `v-model="row['item-3']"`
4. 单引号在外,双引号在内
4.1. `v-model='row["item-3"]'`
```vue
// ...
<script>
export default {
data() {
return {
row: { "item-3": "item-3 value", },
};
},
};... | 2021-12-22T13:51:01 | 2021-12-22T14:05:05 | {} | NONE |
vuejs | core | 1,000,754,226 | 3,726 | johnsoncodehk | props key reference(#3656) is broken by `LooseRequired`. Is this necessary? | 2021-12-24T09:39:30 | 2021-12-24T09:39:30 | {} | MEMBER |
vuejs | core | 1,001,139,287 | 5,168 | posva | @LinusBorg I don't think this is a bug: `<transition-group>` should have a child with `v-for` only, shouldn't it? Based on that, using transition + transition-group [works fine](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiB9IGZyb20gJ3Z1ZSdcbmltcG9ydCBCYXIgZnJvbSAnLi9CYXIudnVlJ1xuICBcbmN... | 2021-12-26T09:43:53 | 2021-12-26T09:43:53 | {} | MEMBER |
vuejs | core | 1,001,597,920 | 5,171 | caozhong1996 | This obviously not a bug.

| 2021-12-27T14:36:34 | 2021-12-27T14:36:34 | {} | CONTRIBUTOR |
vuejs | core | 1,002,362,780 | 5,179 | ygj6 | Seems to work well:
```
[vite] connecting...
App.vue:16 watchEffect:compRef null
App.vue:20 watchEffect:setupCompRef null
App.vue:16 watchEffect:compRef Proxy {…}[[Handler]]: Object[[Target]]: Object[[IsRevoked]]: false
App.vue:20 watchEffect:setupCompRef Proxy {__v_skip: true}[[Handler]]: Object[[Target]]: Pro... | 2021-12-29T02:14:57 | 2021-12-29T02:14:57 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,002,430,278 | 4,654 | FeiFanLiang | still blank screen when use vue-loader 16.8.1,and console warn `Component is missing template or render function` | 2021-12-29T07:15:08 | 2021-12-29T07:15:08 | {} | NONE |
vuejs | core | 1,002,621,124 | 4,609 | wflixu | I have the same problem | 2021-12-29T14:28:20 | 2021-12-29T14:28:20 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.