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 | 2,309,199,398 | 7,280 | Yhspehy | https://codesandbox.io/p/sandbox/headless-sunset-sxk2pt | 2024-08-26T02:52:29 | 2024-08-26T02:52:29 | {} | NONE |
vuejs | core | 2,311,485,036 | 9,663 | edison1105 | /ecosystem-ci run | 2024-08-27T03:13:45 | 2024-08-27T03:13:45 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,314,787,698 | 5,705 | qzd1989 | > I am experiencing this issue as well. Happenning with both webpack & vite. I've found it only happens when the attributes are declared in a .vue file. I've tried creating an input.html with contents:
>
> ```
> <!-- non-predictive -->
> <input
> type="search"
> autocapitalize="off"
> a... | 2024-08-28T09:19:19 | 2024-08-28T09:20:11 | {
"heart": 1
} | NONE |
vuejs | core | 2,309,154,616 | 11,709 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | -------------------- | -------------------- | -------------------- |
| runtime-dom.global.prod.js | 99.9 kB (**+870 B**) | 37.6 kB (**+118 B**) | 33.9 kB (**+12... | 2024-08-26T01:58:38 | 2024-08-28T09:49:17 | {} | NONE |
vuejs | core | 2,308,327,263 | 11,704 | LinusBorg | `childRef.value` is a non-reactive object (a component instance), and `deep: true` will not watch reactive data that is nested somewhere within a non-reactive object.
Other solutions:
A) watch with a getter:
```js
watch(()=> childRef.value?.tableList.name, (val) => {
console.log('val', val)
}, {deep: true})... | 2024-08-24T10:28:11 | 2024-08-24T10:28:28 | {} | MEMBER |
vuejs | core | 2,309,212,892 | 11,713 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 99.1 kB | 37.5 kB | 33.8 kB |
| vue.global.prod.js | 157 kB | 57.3 kB | 51 kB |
### Usages
| Name | Size |... | 2024-08-26T03:08:03 | 2024-08-26T03:08:03 | {} | NONE |
vuejs | core | 2,309,215,692 | 11,715 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 99.1 kB | 37.5 kB | 33.8 kB |
| vue.global.prod.js | 157 kB | 57.3 kB | 51 kB |
### Usages
| Name | Size |... | 2024-08-26T03:11:17 | 2024-08-26T03:11:17 | {} | NONE |
vuejs | core | 2,309,609,593 | 11,458 | edison1105 | @GalacticHypernova
Could you please provide a minimal reproduction to show your usage scenario? | 2024-08-26T08:10:24 | 2024-08-26T08:10:24 | {} | MEMBER |
vuejs | core | 2,309,154,893 | 11,709 | pkg-pr-new[bot] |
_commit: <a href="https://github.com/vuejs/core/runs/29357703557"><code>70a775e</code></a>_
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@11709
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https:/... | 2024-08-26T01:58:56 | 2024-08-28T09:49:52 | {} | NONE |
vuejs | core | 2,314,107,639 | 11,721 | heggria | > uh... sorry, I think I got my thoughts mixed up just now. 😓 I prefer type 2 by the way.
No worries, it happens to all of us. 😊 The code is now using type 2. Thanks for your suggestion! | 2024-08-28T03:03:42 | 2024-08-28T03:03:42 | {} | CONTRIBUTOR |
vuejs | core | 2,307,009,213 | 11,699 | jh-leong | /ecosystem-ci run | 2024-08-23T12:39:10 | 2024-08-23T12:39:10 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,308,038,046 | 11,705 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 99.1 kB (**+60 B**) | 37.5 kB (**+23 B**) | 33.8 kB (**+29 B**) |
... | 2024-08-24T03:51:56 | 2024-08-24T03:51:56 | {} | NONE |
vuejs | core | 2,308,038,350 | 11,705 | pkg-pr-new[bot] |
_commit: <a href="https://github.com/vuejs/core/runs/29194594213"><code>05973ba</code></a>_
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@11705
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https:/... | 2024-08-24T03:52:59 | 2024-08-24T03:52:59 | {} | NONE |
vuejs | core | 2,309,754,066 | 11,717 | l123wx | Okay, thanks. | 2024-08-26T09:22:27 | 2024-08-26T09:22:27 | {} | NONE |
vuejs | core | 1,823,163,596 | 9,663 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------ | ------------------ | ----------------- |
| runtime-dom.global.prod.js | 99.1 kB | 37.5 kB | 33.8 kB |
| vue.global... | 2023-11-22T17:08:09 | 2024-08-27T03:05:26 | {} | NONE |
vuejs | core | 2,313,935,239 | 11,721 | heggria | > @HEGGRIA This change is incorrect. When `batchDepth` is 1, both type 1 and type 2 will early return. It's not consistent with the following logic.
>
> ```ts
> if (batchDepth > 1) {
> batchDepth--
> return
> }
>
> batchDepth--
> //...
> ```
@edison1105 Thank you so much for your comment!... | 2024-08-28T01:55:50 | 2024-08-28T02:05:33 | {} | CONTRIBUTOR |
vuejs | core | 2,314,635,708 | 5,717 | edison1105 | @skirtles-code
> As noted above, writing {{ this.$msg }} in the template will hit the warning, but only with the this., and only for a prefix of $. If the this. is omitted, or a _ prefix is used instead, it ends up going down a different code path and not hitting that warning.
I think that the warning should show ... | 2024-08-28T08:14:09 | 2024-08-28T08:16:57 | {} | MEMBER |
vuejs | core | 2,314,711,061 | 9,372 | edison1105 | duplicate of #8530 | 2024-08-28T08:47:37 | 2024-08-28T08:47:37 | {} | MEMBER |
vuejs | core | 2,308,438,176 | 4,339 | fgt1t5y | 这个特性能用了吗? | 2024-08-24T15:55:51 | 2024-08-24T15:55:51 | {} | NONE |
vuejs | core | 2,309,751,713 | 11,717 | edison1105 | @l123wx Yes, Let's keep this one open. | 2024-08-26T09:21:15 | 2024-08-26T09:21:15 | {} | MEMBER |
vuejs | core | 2,306,586,748 | 11,696 | riskysciolism | Seems to be a major issue as it freezes our application when using primevue datatables with row grouping. | 2024-08-23T08:34:45 | 2024-08-26T09:58:42 | {} | NONE |
vuejs | core | 2,310,012,884 | 9,364 | Djuvl | I have the same issue about unhandledrejection. It has different behavior between dev and prod. Error from vue will not be t trigger unhandledrejection in prod. Any solution? | 2024-08-26T11:47:48 | 2024-08-26T11:47:48 | {} | NONE |
vuejs | core | 2,311,952,818 | 11,721 | heggria | The decrease in batchDepth can be written in two ways. While the second method (--x) is simpler in terms of code, it doesn't quite match the coding style used elsewhere (where x-- is predominantly used). I'm not sure if it's worth making this change. I really appreciate the suggestion!
```ts
// type 1
batchDepth--... | 2024-08-27T08:58:06 | 2024-08-27T08:58:06 | {} | CONTRIBUTOR |
vuejs | core | 2,314,852,672 | 7,419 | pkg-pr-new[bot] |
_commit: <a href="https://github.com/vuejs/core/runs/29357681905"><code>02a5ef3</code></a>_
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@7419
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https://... | 2024-08-28T09:48:59 | 2024-08-28T09:48:59 | {} | NONE |
vuejs | core | 2,307,076,708 | 11,697 | jh-leong | As a workaround, you can use type casting and pass the type argument: [Playground](https://play.vuejs.org/#eNqFUsmO2zAM/RVCFydAaqOYHorUCTAt5tACXdD2NhoUqsM4SmVJkGRPAsP/XkqOk6DLzI3k4/IeyZ7dWpt3LbIlK33lpA3gMbQWlND1irPgOVtzLRtrXIB3prGwdaaBLC+iE0uzN2e8d7gdTgkR4ZrrymgfoPH1Cgid3WciW0D2M3uYc10W40yaQE7AxioRkDyAMs3qXjRmg4qIUAPOo... | 2024-08-23T13:16:59 | 2024-08-23T13:16:59 | {} | MEMBER |
vuejs | core | 2,307,171,438 | 7,982 | Pentadome | Is it possible to use generic types in SlotsType? [Function Signature](https://vuejs.org/api/general.html#function-signature) only gives an example for props. | 2024-08-23T14:06:08 | 2024-08-23T14:06:08 | {
"+1": 3,
"eyes": 1
} | CONTRIBUTOR |
vuejs | core | 2,307,299,500 | 10,567 | KaelWD | > I think the attribute SHOULD BE inserted at every levels
No, the equivalent non-nested CSS only inserts it at the last selector.
```css
.v-card .v-card-item .v-card-title {}
/* --> */
.v-card .v-card-item .v-card-title[data-v-7ba5bd90] {}
```
```css
.v-card {
& .v-card-item {
& .v-card-title {}
... | 2024-08-23T15:16:23 | 2024-08-23T15:16:23 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 2,308,751,392 | 11,705 | edison1105 | see https://github.com/vuejs/core/issues/11703#issuecomment-2308365954 | 2024-08-25T09:32:27 | 2024-08-25T09:32:27 | {} | MEMBER |
vuejs | core | 2,309,748,222 | 11,717 | l123wx | Yes, it worked for me. And will this issue be fixed in the future? | 2024-08-26T09:19:21 | 2024-08-26T09:19:21 | {} | NONE |
vuejs | core | 2,309,963,037 | 8,662 | Vanilagy | @zhangenming You're right, it seems to be fixed! | 2024-08-26T11:18:03 | 2024-08-26T11:18:03 | {} | NONE |
vuejs | core | 2,311,490,863 | 9,663 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/10571049976)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/10553833276) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/1... | 2024-08-27T03:20:31 | 2024-08-27T03:20:31 | {} | CONTRIBUTOR |
vuejs | core | 2,307,019,242 | 11,699 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/10525874538)
| suite | result | [latest scheduled](https://github.com/vuejs/ecosystem-ci/actions/runs/10520140099) |
|-------|--------|----------------|
| language-tools | :x: [failure](https://github.com/vuejs/ecosystem-ci/actions/runs/1... | 2024-08-23T12:44:38 | 2024-08-23T12:44:38 | {} | CONTRIBUTOR |
vuejs | core | 2,308,850,096 | 4,339 | fgt1t5y | > > 这个特性能用了吗?
>
> 想多了
我真服了,我直接patch源代码得了 | 2024-08-25T13:43:52 | 2024-08-25T13:44:10 | {} | NONE |
vuejs | core | 2,309,079,051 | 11,671 | Procrustes5 | Hello, I've been thinking about this.
How about making Slot type a bit more flexible?
https://github.com/vuejs/core/blob/fbc0c42bcf6dea5a6ae664223fa19d4375ca39f0/packages/runtime-core/src/componentSlots.ts#L26-L28
I think changing type of `normalizeSlot` to Generic also effective.
https://github.com/vuejs/core/... | 2024-08-26T00:32:09 | 2024-08-26T00:32:09 | {} | CONTRIBUTOR |
vuejs | core | 2,292,554,312 | 11,478 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 98.8 kB (**+38 B**) | 37.4 kB (**+18 B**) | 33.7 kB (**-15 B**) |
... | 2024-08-16T01:28:58 | 2024-08-26T00:43:38 | {} | NONE |
vuejs | core | 2,314,851,407 | 7,419 | yyx990803 | Merged for the test case. Thank you! | 2024-08-28T09:48:21 | 2024-08-28T09:48:21 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,311,777,708 | 11,721 | pkg-pr-new[bot] |
_commit: <a href="https://github.com/vuejs/core/runs/29357825686"><code>5fd1a69</code></a>_
<details><summary><b>@vue/compiler-core</b></summary><p>
```
pnpm add https://pkg.pr.new/@vue/compiler-core@11721
```
</p></details>
<details><summary><b>@vue/compiler-dom</b></summary><p>
```
pnpm add https:/... | 2024-08-27T07:34:00 | 2024-08-28T09:52:09 | {} | NONE |
vuejs | core | 2,063,205,719 | 10,688 | quiteeasy | The `/ecosystem-ci run` failure doesn't seem to be related to the changes in the PR | 2024-04-18T07:28:50 | 2024-04-18T07:28:50 | {} | CONTRIBUTOR |
vuejs | core | 2,067,072,086 | 10,746 | NathanFreeman | https://github.com/vuejs/core/issues/10726 | 2024-04-19T18:15:36 | 2024-04-19T18:15:36 | {} | NONE |
vuejs | core | 2,067,091,124 | 10,745 | skirtles-code | The linked issue doesn't include a reproduction, so it's difficult to tell whether this is the correct fix. It's likely that this is just hiding the root cause of the problem rather than actually fixing it.
#6908 attempted a very similar fix, and hasn't been merged for the same reason.
If you're able to provide a... | 2024-04-19T18:30:13 | 2024-04-19T18:30:13 | {} | CONTRIBUTOR |
vuejs | core | 2,067,937,935 | 10,741 | NathanFreeman | HTML comments are indeed considered as nodes. | 2024-04-21T07:21:52 | 2024-04-21T07:21:52 | {
"+1": 1
} | NONE |
vuejs | core | 2,068,420,010 | 10,761 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------ | ------------------- |
| runtime-dom.global.prod.js | 90.7 kB (**-28 B**) | 34.5 kB (**-6 B**) | 31.1 kB (**+12 B**) |
| v... | 2024-04-22T03:31:33 | 2024-04-22T03:31:33 | {} | NONE |
vuejs | core | 2,069,396,658 | 10,752 | yyx990803 | I don't think this is something we can fix in Vue. Essentially you have two different source for `entrySize`: one controlled by `v-model` and one emitted from change event listener. To ensure consistency, it's better to use Vue APIs to react to reactive state changes instead of raw DOM events.
Working example using ... | 2024-04-22T13:18:13 | 2024-04-22T13:18:13 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,070,602,264 | 10,743 | Anoesj | Thanks for the fast fix Evan :1st_place_medal: | 2024-04-22T18:41:21 | 2024-04-22T18:41:21 | {} | NONE |
vuejs | core | 2,071,291,016 | 10,768 | POKEZHANG | Ask other people who have the same problem and wonder if it is due to the network. | 2024-04-23T02:24:07 | 2024-04-23T02:24:07 | {} | NONE |
vuejs | core | 2,062,948,419 | 7,690 | skirtles-code | Is this PR still needed? The config for ESLint has changed significantly since this PR was first opened. | 2024-04-18T04:02:36 | 2024-04-18T04:02:36 | {} | CONTRIBUTOR |
vuejs | core | 2,067,422,215 | 10,736 | skirtles-code | I think this may be the same problem described by #8216. | 2024-04-20T00:27:51 | 2024-04-20T00:27:51 | {} | CONTRIBUTOR |
vuejs | core | 2,067,518,289 | 10,726 | NathanFreeman | https://github.com/vuejs/core/pull/10746 | 2024-04-20T02:26:40 | 2024-04-20T02:26:40 | {} | NONE |
vuejs | core | 2,068,709,984 | 10,667 | yyx990803 | Thanks @quiteeasy for looking into it. Closing as it doesn't seem to be caused by Vue core. | 2024-04-22T07:45:31 | 2024-04-22T07:45:31 | {} | MEMBER |
vuejs | core | 2,068,777,881 | 10,736 | quiteeasy | > I think this may be the same problem described by #8216.
Yes, this seems to be the same issue described in #8216. The PR from #8216 will prevent mutating props passed to child components in development mode. However, it appears to be problematic for production, as the state update will be asynchronous(parent and c... | 2024-04-22T08:18:49 | 2024-04-22T08:18:49 | {} | CONTRIBUTOR |
vuejs | core | 2,071,332,653 | 10,768 | POKEZHANG | There is a network problem. Some resources cannot be loaded on the computer, but they can be loaded on the mobile phone. | 2024-04-23T03:17:33 | 2024-04-23T03:17:33 | {} | NONE |
vuejs | core | 2,071,923,019 | 10,674 | J-env | defineProps 自动编译出默认值,这个行为太奇怪了,出了问题排查起来真困难!!!,
还有就是我已经使用了 ts 去写组件,打包后的 props 居然还有 js类型定义, 生产环境下 为啥需要Prop 校验的代码?
如果有很多很多的组件,每个组件都有很多 prop, 打包后的组件文件非常大 (全是Prop 校验,无用的代码),
优化掉不好吗 | 2024-04-23T10:09:29 | 2024-04-23T10:09:29 | {} | NONE |
vuejs | core | 2,071,984,173 | 4,314 | volarname | this is the most critical feature i am missing in vue 3, this request is 3 years old and still no statement from core team? @yyx990803 | 2024-04-23T10:45:56 | 2024-04-23T10:45:56 | {
"+1": 10
} | NONE |
vuejs | core | 2,065,440,814 | 8,417 | skirtles-code | There are various other cases that need to be considered too. For example, how should this be rendered?
```html
<input
v-pre
indeterminate
type="checkbox"
:a="b"
^c="d"
.e="f"
>
```
- [Playground](https://play.vuejs.org/#eNp9kT1PwzAQhv9K5LmEAaYoIAHqAAMgYLSQ0uQaXJyzZZ9DUJX/ztlWSoeq270f1j0n78Wd... | 2024-04-18T22:40:14 | 2024-04-18T22:40:14 | {} | CONTRIBUTOR |
vuejs | core | 2,067,901,023 | 10,436 | zh-lx | I don't think so. In Vue, :deep() will have an effect on the sub selector. So :global() should also maintain consistency.
---- Replied Message ----
| From | ***@***.***> |
| Date | 04/20/2024 08:18 |
| To | ***@***.***> |
| Cc | ***@***.***>***@***.***> |
| Subject | Re: [vuejs/core] feat(compiler-sfc): support use ... | 2024-04-21T04:35:15 | 2024-04-21T04:35:15 | {} | CONTRIBUTOR |
vuejs | core | 2,068,312,364 | 10,759 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 90.7 kB | 34.5 kB | 31.1 kB |
| vue.global.prod.js | 148 kB | 53.8 kB | 48 kB |
### Usages
| Name | Size |... | 2024-04-22T01:13:39 | 2024-04-22T01:13:39 | {} | NONE |
vuejs | core | 2,068,707,728 | 10,691 | yyx990803 | `HTMLSlotElement.assign` is relatively new and doesn't align with Vue's baseline support (browsers that support ES2016+), so it might be problematic to use it directly.
Looks like it can be [polyfilled](https://github.com/jsxtools/dom-slot-assign), although we might be able to implement only what is needed by Vue? | 2024-04-22T07:44:25 | 2024-04-22T07:44:25 | {} | MEMBER |
vuejs | core | 2,068,739,769 | 10,743 | Anoesj | Seems kind of similar to #5352 and #5991, but not identical, hence the new issue. | 2024-04-22T07:59:15 | 2024-04-22T07:59:15 | {
"+1": 1
} | NONE |
vuejs | core | 2,071,271,878 | 10,767 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 90.7 kB | 34.5 kB | 31.1 kB |
| vue.global.prod.js | 148 kB | 53.8 kB | 48.1 kB |
### Usages
| Name | Size |... | 2024-04-23T02:00:56 | 2024-04-23T02:00:56 | {} | NONE |
vuejs | core | 2,071,274,551 | 10,726 | xvaara | @yyx990803 It doesn't work on production. In production build these are still compiler as `{ type: [Boolean, String] }` | 2024-04-23T02:04:20 | 2024-04-23T02:04:20 | {} | NONE |
vuejs | core | 2,071,297,828 | 10,768 | baiwusanyu-c | Works fine for me too | 2024-04-23T02:32:45 | 2024-04-23T02:32:45 | {} | MEMBER |
vuejs | core | 2,071,898,147 | 7,157 | yingpengsha | I will recall and reconsider the necessity of this change. If new information arises, I will submit a new PR to elaborate on it. | 2024-04-23T09:56:26 | 2024-04-23T09:56:26 | {} | NONE |
vuejs | core | 2,067,258,380 | 10,744 | LinusBorg | Issues require runnable reproductions | 2024-04-19T20:42:14 | 2024-04-19T20:42:14 | {} | MEMBER |
vuejs | core | 2,071,144,612 | 10,747 | tonliver | Any progress? | 2024-04-22T23:59:38 | 2024-04-22T23:59:38 | {} | CONTRIBUTOR |
vuejs | core | 2,059,562,638 | 10,719 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------- | ------------------ |
| runtime-dom.global.prod.js | 90.8 kB (**+59 B**) | 34.5 kB (**+19 B**) | 31.1 kB (**+6 B**) |
| v... | 2024-04-16T17:12:01 | 2024-04-18T03:41:21 | {} | NONE |
vuejs | core | 2,065,304,856 | 10,551 | basil | This exposed a bug in our application, where a component's scoped style section erroneously contained elements that were not in the component (in this case, body). Once we fixed our bug, we were able to upgrade past this commit. Perhaps worth mentioning in the release notes. | 2024-04-18T20:52:44 | 2024-04-18T20:52:44 | {
"+1": 1
} | NONE |
vuejs | core | 2,067,417,099 | 10,436 | skirtles-code | In my opinion, the `:global` should not carry over to the child selectors.
**Case 1:**
```scss
:global(.foo) {
.bar {}
}
```
With scss this will be translated to `:global(.foo) .bar`, which I think Vue should compile down to `.foo .bar[data-v-123]`.
**Case 2:**
```scss
:global(.foo) {
:global(.... | 2024-04-20T00:18:08 | 2024-04-20T00:18:08 | {} | CONTRIBUTOR |
vuejs | core | 2,067,705,397 | 10,751 | btea | No, the `prevent` modifier will prevent all default behaviors, but the scenario I need is to prevent the default behavior under specific conditions. You can check out the example I provided above. | 2024-04-20T15:20:05 | 2024-04-20T15:20:05 | {} | CONTRIBUTOR |
vuejs | core | 2,068,287,941 | 10,754 | Joan1590 | I fix your code:
```vue
<script setup>
let res = ''
async function returnSomething() {
console.log("Hello :D");
return ''
}
</script>
<template>
<button @click="async ()=>{console.log('click'); await returnSomething()}">button</button>
</template>
```
you have a syntax error, it's a javascrip... | 2024-04-22T00:30:59 | 2024-04-22T00:31:46 | {} | NONE |
vuejs | core | 2,068,410,816 | 10,754 | so1ve | Vue allows doing so:
Prod:
https://play.vuejs.org/#__PROD__eNp9UU1vAiEU/CuEi5oYPbQns5p+xEN7aJvaI5ctPhVlgcBDbcz+9z6ga03TuJeFmWFmHpz4vXOjfQQ+4VWQXjlkATC6mTAakHkIbMp6PWGEqcOXkWwVjURlDVEYvVnYBnCjzLo/YCdh2A+cj7TCVONiSna0QWicrhFox1j1GRHJ505qJXdTwRPIWD/HkNt0VgzTV2rUh1qlSn9zi6od9AdpJfisOFfj8qe0anwRzYccg7RmpdajbbCGRs9Bgkv... | 2024-04-22T03:18:18 | 2024-04-22T03:18:18 | {} | MEMBER |
vuejs | core | 2,068,420,046 | 10,760 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------- | ------- | ------- |
| runtime-dom.global.prod.js | 90.7 kB | 34.5 kB | 31.1 kB |
| vue.global.prod.js | 148 kB | 53.8 kB | 48 kB |
### Usages
| Name | Size |... | 2024-04-22T03:31:36 | 2024-04-22T03:31:36 | {} | NONE |
vuejs | core | 2,071,213,593 | 8,222 | edison1105 | close due to #8216 has been fix via https://github.com/vuejs/core/commit/a7cf74277ee57093656faaa7f65610ee7584a507 | 2024-04-23T01:07:55 | 2024-04-23T01:07:55 | {} | MEMBER |
vuejs | core | 2,071,287,435 | 10,768 | POKEZHANG | > `, something... | 2024-04-22T10:11:59 | 2024-04-22T10:11:59 | {} | NONE |
vuejs | core | 2,071,685,572 | 10,771 | Mophar-gift | +1
本地环境没问题,线上环境会出现这个问题 | 2024-04-23T08:09:29 | 2024-04-23T08:09:29 | {} | NONE |
vuejs | core | 2,063,245,503 | 10,728 | Doctor-wu | [reproduce in playground](https://play.vuejs.org/#eNqlU8tOwzAQ/BXLIHGBpGk5VaESVD3AARBwjIRCsmldHDuynVCp6r+zdh40bQFBb/HO7M4+Jmt6XRReVQId01AnihWGaDBlMYkEywupDJkuGE8ViAHJlMzJmedPZV4MbNLZHinokYKGFPp1aSyKDwN5wWMD+CIkXIwmsIoxAjoIfXy5aCfqnhhok0h1wbKriGYx1xDRSTAYhH6/ot9PDt8U8Z1yX234dzVykkIWl9wcITvalw2OGdImb4H0nBqdSJGxubfUUuBd1z... | 2024-04-18T07:51:26 | 2024-04-18T07:51:26 | {} | MEMBER |
vuejs | core | 2,063,500,527 | 10,729 | quiteeasy | It seems that we can mutate a prop in the template, even though the Vue.js docs state there should be a warning if we try to mutate props in a child component. Interestingly, there doesn't appear to be a warning when a prop is mutated directly in the template.
Since the `modelValue` is also a prop, I believe this is... | 2024-04-18T10:05:03 | 2024-04-18T10:05:03 | {} | CONTRIBUTOR |
vuejs | core | 2,068,757,619 | 7,157 | skirtles-code | I'm curious what the goal is here. Why is it important that the props aren't wrapped in proxies?
I believe this will come into conflict with #8222, which wraps them in a proxy. If there's a compelling reason why those objects must not be readonly proxies then it may be necessary to tweak that PR. | 2024-04-22T08:08:33 | 2024-04-22T08:08:33 | {} | CONTRIBUTOR |
vuejs | core | 2,071,273,396 | 10,764 | edison1105 | duplicate of https://github.com/vuejs/core/issues/6859
a workaround
```diff
h('img', {
+ loading: 'lazy',
src: `https://via.assets.so/game.png?id=${props.id}&q=95&w=360&h=360&fit=fill`,
- loading: 'lazy',
width: '700',
height: '700',
});
```
https://developer.mozilla.org/en-US/docs/Web/API/HTMLIm... | 2024-04-23T02:02:52 | 2024-04-23T06:23:42 | {
"heart": 2
} | MEMBER |
vuejs | core | 2,071,777,093 | 10,771 | co2color | +1

| 2024-04-23T08:57:53 | 2024-04-23T08:57:53 | {} | NONE |
vuejs | core | 2,071,871,072 | 10,769 | xvaara | I'm using the same type [here is the code](https://play.vuejs.org/#__PROD__eNqFUk1v2zAM/SuELu2A1EGXngwnwzb0sAHbimzYZRoGx2Yct7Ik6MNN4fi/j5IdJwW29ia+R1KP5OvYe62T1iNLWWYLU2sHFp3XIHJZLTlzlrMVl3WjlXHQgcEt9LA1qoELKruYqI+q0QPOWTIPUWjLGZdcFkpaB42tYBkaXHabFK77N1xm8+FP+oECh40WuUOKALLd9arrYlHfZ3OKIhq/aa8aVaIgeURzBnPisvlUzmYkm/7c1... | 2024-04-23T09:44:18 | 2024-04-23T09:44:18 | {} | NONE |
vuejs | core | 2,067,578,793 | 10,751 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | ------------------- | ------------------ | ---------------- |
| runtime-dom.global.prod.js | 90.8 kB (**+11 B**) | 34.5 kB (**+4 B**) | 31.1 kB |
| vue.global... | 2024-04-20T06:43:49 | 2024-04-22T06:14:48 | {} | NONE |
vuejs | core | 2,068,632,005 | 10,751 | yyx990803 | I'm not sure if I understand your problem, in what browsers are these warnings shown? I can't reproduce them. | 2024-04-22T07:00:58 | 2024-04-22T07:00:58 | {} | MEMBER |
vuejs | core | 2,068,712,235 | 10,741 | yyx990803 | This is expected. Some external tools rely on HTML comments for functioning, so overriding comments with `v-html` is not entirely safe. | 2024-04-22T07:46:47 | 2024-04-22T07:46:47 | {} | MEMBER |
vuejs | core | 2,068,663,062 | 10,751 | btea | It can be reproduced on both chrome and edge. You should click on the `Show console sidebar` icon and then select `verbose` as shown below:

| 2024-04-22T07:20:15 | 2024-04-22T14:32:06 | {} | CONTRIBUTOR |
vuejs | core | 2,071,835,446 | 10,769 | xvaara | It's not nice that console.log is full of warnings when developers are using our published library. If that is what is expected I think we need to revert away from defineModel.
> [Vue warn]: Invalid prop: type check failed for prop "modelValue". Expected Boolean | String, got Object | 2024-04-23T09:25:53 | 2024-04-23T09:29:11 | {} | NONE |
vuejs | core | 2,063,076,040 | 10,688 | edison1105 | /ecosystem-ci run | 2024-04-18T06:12:16 | 2024-04-18T06:12:16 | {
"+1": 1
} | MEMBER |
vuejs | core | 2,063,190,583 | 10,706 | quiteeasy | @marcosdissotti
> 💡Obs. At condition, context.scopes.vFor > 0 maybe interesting to add in a auxiliary variable, for exemple, const hasVFor = context.scopes.vFor > 0; or hasVForDirective.
>
> I liked your suggestion ✌️
Thank you for the review and the suggestion! I have added the `hasVFor` variable. I'm looking... | 2024-04-18T07:19:33 | 2024-04-18T07:19:33 | {} | CONTRIBUTOR |
vuejs | core | 2,067,489,669 | 10,748 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 46f6f3b162580acd7026248ee1c5cf1ff3d6faf6 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2024-04-20T01:13:13 | 2024-04-20T01:13:13 | {} | NONE |
vuejs | core | 2,067,514,726 | 8,870 | skirtles-code | Based on the UnoCSS bug report linked above, I think this PR should be closed.
UnoCSS is rewriting some of the code in Vue. The original code contains this line:
```js
const camelizeRE = /-(\w)/g
```
By the time it gets to the browser, it has been changed to this:
```js
var camelizeRE = /-\w/g;
```
T... | 2024-04-20T02:11:54 | 2024-04-20T02:11:54 | {} | CONTRIBUTOR |
vuejs | core | 2,068,874,841 | 10,436 | daniluk4000 | > I don't think it's necessary. If we want to add scoped to child selectors, why do the parent selectors still use `:global()`?
It's not my case. For example, we have global class on html and want to rely on it in children component without losing scoped. | 2024-04-22T09:05:32 | 2024-04-22T09:05:32 | {} | NONE |
vuejs | core | 2,071,344,735 | 7,157 | skirtles-code | It seems that the new changes you've pushed are unrelated to the original contents of the PR. It would probably have been better to open a new PR for these rather than reusing this one. The previous conversations and labels on this PR no longer make sense in the context of the new changes.
I'm not sure whether using... | 2024-04-23T03:33:32 | 2024-04-23T03:33:32 | {} | CONTRIBUTOR |
vuejs | core | 1,720,394,154 | 9,219 | github-actions[bot] | ## Size Report
### Bundles
| File | Size | Gzip | Brotli |
| -------------------------- | -------------------- | ------------------- | ------------------- |
| runtime-dom.global.prod.js | 90.9 kB (**+170 B**) | 34.6 kB (**+59 B**) | 31.1 kB (**+31 B**)... | 2023-09-15T02:20:19 | 2024-04-18T06:15:14 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.