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
1,364,769,027
4,294
Hecatron
This is an example of what I did to get it working for a project I'm working on Install depends ```sh yarn add -D @vue-macros/nuxt @vueuse/core @vueuse/nuxt ``` Add the following to `nuxt.config.ts` ```ts export default defineNuxtConfig({ modules: ['@vue-macros/nuxt', '@vueuse/nuxt'], }) ``` Write a ...
2022-12-26T00:46:18
2022-12-26T00:46:18
{ "+1": 2 }
NONE
vuejs
core
1,365,846,856
5,940
ghost
Can we have this merged?
2022-12-27T11:52:04
2022-12-27T11:52:04
{}
NONE
vuejs
core
1,366,388,713
7,422
edison1105
@mnixry PR welcome.
2022-12-28T05:54:43
2022-12-28T05:54:43
{}
MEMBER
vuejs
core
1,358,918,532
7,370
LinusBorg
That code works fine in the playground. is your problem just with the type declaration? https://sfc.vuejs.org/#eNp1kvFq4zAMxl9F+Diywur06H+5bnBPsBcIHE6ipG5d29hK1xLy7ifHXSm3jRDiSOKnT/40iT/ey/OIohI7wpM3ivC1tgC7Tp+hNSrGl1oYN2j7d4+qw1CLJQ8wTXCRhJH60bZPhZKXYgXznJMLomQGF+/KBzL/xjZoT2CUHZhNsRYQkUa/cPXJu0BQyNI1B2xJUix+p0TrbC...
2022-12-20T07:01:12
2022-12-20T07:01:12
{}
MEMBER
vuejs
core
1,360,000,273
2,097
infinite-system
@nikolas223 Haha, I know right, that's how it felt when I managed to do it, but then now that I thought about it more and it makes sense, since `childApp` is a parent of the child component defined by the `h()` function, and render function gets called only on `childApp.mount(el)` not before.
2022-12-20T18:54:21
2022-12-20T18:54:35
{}
NONE
vuejs
core
1,362,260,724
7,334
edison1105
duplicate of #6080
2022-12-22T00:44:08
2022-12-22T00:44:08
{ "+1": 1 }
MEMBER
vuejs
core
1,362,754,454
7,397
LinusBorg
You should be using the [global error handler](https://vuejs.org/api/application.html#app-config-errorhandler) or [a local one](https://vuejs.org/api/options-lifecycle.html#errorcaptured) to gracefully handle errors. you could do so at the route level by writing a small ErrorBoundary Component that handles errors an...
2022-12-22T11:58:02
2022-12-22T11:58:33
{}
MEMBER
vuejs
core
1,363,260,898
7,403
LinusBorg
Bootstrap adds a class called `show` that vue is unaware of, and it seems to make the close behavior depend on that. When you select "zero", which makes Vue add another class to the element, Vue overrides the classes with the ones it knows - and `show` is not one of them, so it's effectively being removed. And bo...
2022-12-22T19:18:33
2022-12-22T19:19:07
{ "+1": 1 }
MEMBER
vuejs
core
1,363,332,768
7,403
LinusBorg
We would need to diff the classList of every element on every component update, which would add non-trivial overhead in the perf-sensitive update path.
2022-12-22T20:56:30
2022-12-22T20:56:30
{ "+1": 1 }
MEMBER
vuejs
core
1,359,002,734
7,381
Justineo
Please **DO NOT** abuse pull requests. Do experiments in your own repo. Thanks.
2022-12-20T08:33:27
2022-12-20T08:33:27
{}
MEMBER
vuejs
core
1,364,061,800
7,408
LinusBorg
@alexnivanov If you see a lot of this in your app to the degree that its a problem, maybe evaluate how many re-renders you get from the incoming websocket data. re-rerendering in a really short interval will be expensive per-wise regardless of this devtools-dependent memory issue.
2022-12-23T15:56:03
2022-12-23T15:56:03
{}
MEMBER
vuejs
core
1,364,323,766
7,409
paul-thebaud
Thanks a lot @LinusBorg!
2022-12-23T20:43:16
2022-12-23T20:43:16
{}
NONE
vuejs
core
1,365,497,355
7,417
LinusBorg
It isn't - you an see for yourself in the playground, you can switch versions there. If you have a repository to share where this happens, please share it.
2022-12-26T23:03:07
2022-12-26T23:05:43
{ "+1": 1 }
MEMBER
vuejs
core
1,358,877,858
7,377
edison1105
If you think this code can be optimized, please submit a PR, issues are for bug submission only.
2022-12-20T06:00:35
2022-12-20T06:00:35
{}
MEMBER
vuejs
core
1,362,984,840
7,400
sj7112
I have no idea why there's an SSR warning, I didn't use SSR at all. But I cannot reproduced in SFC. Use a timer is just for sample, I got it! To simplify my question: Will that warning have any affects if I continue to try 2 way data binding, and go to production env.
2022-12-22T15:39:07
2022-12-22T15:39:07
{}
NONE
vuejs
core
1,363,324,966
7,402
LinusBorg
In your playground, you don't resolve the promise in the async components, so they never render.
2022-12-22T20:43:46
2022-12-22T20:43:46
{}
MEMBER
vuejs
core
1,364,716,058
4,836
EastSun5566
I truly believe that those comments can greatly improve DX! I hope that the Vue team can merge them soon 🙏
2022-12-25T17:48:16
2022-12-25T17:48:16
{}
NONE
vuejs
core
1,365,495,865
5,707
mStirner
I have still the issue in v3.2.45. Confirmed in v3.2.31, upgraded to v3.2.45 and the bug is still present.
2022-12-26T22:59:52
2022-12-26T22:59:52
{}
NONE
vuejs
core
1,358,710,307
4,339
qq229338869
> > > 应该大部分都是做多tab单页应用的来提这个feature. > > > @liweijian1 在页面组件外面包个壳,像下面这样子,能完全可控操作keep-alive缓存, 而且不需要额外的内部规范,比如,页面组件必须强制加上组件名,配合在meta里配置上页面组件名称, > > > ``` > > > <template> > > > <router-view v-slot="{ Component, route }"> > > > <keep-alive :include="include"> > > > <component :is="wrap(route.fullPath,...
2022-12-20T01:26:22
2022-12-20T01:26:22
{ "+1": 1 }
NONE
vuejs
core
1,358,972,091
7,376
davidpanaho
Brillant, thanks @LinusBorg for the clarification!
2022-12-20T08:03:56
2022-12-20T08:03:56
{}
NONE
vuejs
core
1,359,133,144
7,370
LinusBorg
yes, in the example, indexOf is undefined because you don't pass an argument to the function `testfunc` event though it expects an argument of type string. What would you expect to happen? No, the string on which you call it will not magically become that argument. that's not how extending prototypes works.
2022-12-20T10:20:04
2022-12-20T10:24:24
{}
MEMBER
vuejs
core
1,359,156,830
7,370
LinusBorg
I have already sunk significant time into this. If will not put anymore time into this without a proper reproduction. if you manage to create one, **open a new issue** If that reproduction will again fail to demonstrate the problem, the issue will be closed again and locked.
2022-12-20T10:37:39
2022-12-20T10:37:39
{}
MEMBER
vuejs
core
1,359,372,176
2,097
nikolas223
> Guys! I figured it out! the full solution to maintain full props reactivity and get the `defineExpose()` interface! Here is how: > > ```js > function createComponent ({ app, component, props, el }) { > > let expose = null > > const childApp = createApp({ render: () => expose = h(component, props) })...
2022-12-20T13:42:27
2022-12-20T13:42:27
{}
NONE
vuejs
core
1,363,224,971
7,402
LinusBorg
Just to make sure: Are you seeing this exact problem in an App? or just in the playground? Is your app using SSR? Is it Nuxt? Because in the playground, the error goes away when you disable "SSR" in the upper right.
2022-12-22T18:45:03
2022-12-22T18:45:03
{}
MEMBER
vuejs
core
1,363,887,025
7,409
LinusBorg
Sidenote: I'll verify this, but suspect that the browser-inconsistencies are due to differnt handling when assigning these attributes as element properties `el.ariaLabel = ....` - I'd guess Firefox simply doesn't provide these properties. Edit: verified. * Firefox: `'ariaLabel' in $0 // => false` * Chrome `'ari...
2022-12-23T11:49:34
2022-12-23T11:51:33
{}
MEMBER
vuejs
core
1,364,319,458
7,409
LinusBorg
I'll close this as a duplicate, I also sent a draft PR for #5477
2022-12-23T20:30:03
2022-12-23T20:30:03
{}
MEMBER
vuejs
core
1,364,956,426
3,529
anhchangvt1994
@yyx990803 I still encountered this problem again in version 3.x latest
2022-12-26T07:23:59
2022-12-26T07:23:59
{}
NONE
vuejs
core
1,365,043,339
1,791
dulnan
Like others I was also looking for a solution for component caching with Vue 3 server-renderer. I maintain [nuxt-multi-cache](https://github.com/dulnan/nuxt-multi-cache) that among other things offers a seamless integration for component caching in Nuxt 2. Currently rewriting the module for Nuxt 3 and had to find a sol...
2022-12-26T09:47:00
2022-12-26T09:47:00
{ "+1": 2 }
NONE
vuejs
core
1,365,494,969
7,417
armg-teruo-kakikubo
@LinusBorg Thank you. Why is the behavior different from versions up to 3.2.44?
2022-12-26T22:53:42
2022-12-26T22:53:42
{}
NONE
vuejs
core
1,366,130,248
4,513
sxzz
Fixed via https://github.com/vuejs/core/commit/a81a9922bb6d3398a22c743b6ff476fb232dedfd
2022-12-27T19:37:19
2022-12-27T19:37:51
{}
MEMBER
vuejs
core
1,358,831,666
7,378
netlify[bot]
### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed. | Name | Link | |---------------------------------|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | 1a73335d2c199009ae344f72ea28ad2e3e5185c2 | |<span aria-hidden="true">🔍</span> Latest deploy log | https:/...
2022-12-20T04:38:36
2022-12-20T05:32:06
{}
NONE
vuejs
core
1,358,976,070
7,379
LinusBorg
duplicate of #7329
2022-12-20T08:07:51
2022-12-20T08:07:51
{}
MEMBER
vuejs
core
1,359,153,489
7,370
sj7112
I see that. But it's still not the issue I have. The error still happen in my machine. But I may bypass the error by add some error handle function. Once I can replay the error, I'll show you.
2022-12-20T10:34:52
2022-12-20T10:34:52
{}
NONE
vuejs
core
1,362,524,786
6,238
qmhc
@zhangzhonghe Thanks for your reply. Will it make differentiation in development mode and production mode?
2022-12-22T07:57:55
2022-12-22T07:57:55
{}
NONE
vuejs
core
1,362,990,345
7,300
steveworkman
Yeah, that's not there either! It may be a Nuxt issue that isn't passing that value through. Will investigate On Thu, 22 Dec 2022, 14:17 Thorsten Lünborg, ***@***.***> wrote: > ***@***.**** commented on this pull request. > ------------------------------ > > In packages/runtime-core/src/hydration.ts > <https://github...
2022-12-22T15:44:51
2022-12-22T15:44:51
{}
NONE
vuejs
core
1,359,004,076
7,380
xiguachao
> 请**不要**滥用拉取请求。在你自己的仓库中做实验。谢谢。 sorry!
2022-12-20T08:34:49
2022-12-20T08:34:49
{}
NONE
vuejs
core
1,362,520,954
6,238
zhangzhonghe
Thanks for your PR, but I think the #7387 way is better because the code it adds can be removed in production mode.
2022-12-22T07:52:50
2022-12-22T09:04:30
{}
MEMBER
vuejs
core
1,366,346,192
7,421
zhangzhonghe
Maybe [this PR](https://github.com/vuejs/repl/pull/34) can solve your problem. I will close this because it is a problem with [vuejs/repl](https://github.com/vuejs/repl), and you should open an issue in vuejs/repl.
2022-12-28T03:48:51
2022-12-28T03:48:51
{ "+1": 1 }
MEMBER
vuejs
core
1,683,540,262
8,994
LinusBorg
This is a problem with destructuring class methods more than it is with Vue. When destructuring a class prototype method, it loses its `this` context. ```js class CountService { count = ref(0) add() { this.count.value++ } } const counter = new CountService() const add = counter.add add() ...
2023-08-18T08:15:47
2023-08-18T08:19:32
{}
MEMBER
vuejs
core
1,684,879,020
9,006
akash-melkeri
Just rename the prop from one of the components. In _HelloWorld.vue_ rename `hello` to `value` OR In _MyCustomElement.vue_ rename `value` to `hello`.
2023-08-19T07:28:33
2023-08-19T07:29:21
{}
NONE
vuejs
core
1,685,028,573
8,981
Kuuzoo
> Please provide a fully runnable production. We can't investigate this without one. You'll find a attached working Component, like I'm using it. No changes, just some other Elements inside of my component, I just hope that doesnt matter! https://play.vuejs.org/#eNp9U8Fu2zAM/RVOl7ZAbRcodkm9Al1nrCnQpEhS7OKLZjOJW1kSJ...
2023-08-19T15:28:38
2023-08-19T15:28:38
{}
NONE
vuejs
core
1,691,201,429
4,344
jiangdotgs
``` import { defineConfig } from "vite"; import vue from "@vitejs/plugin-vue"; import AutoImport from "unplugin-auto-import/vite"; import Components from "unplugin-vue-components/vite"; import { ElementPlusResolver } from "unplugin-vue-components/resolvers"; import path from "path"; // https://vitejs.dev/confi...
2023-08-24T08:01:50
2023-08-24T08:01:50
{}
NONE
vuejs
core
1,691,546,764
9,027
sxzz
I think it's a reasonable request. As [Evan said](https://github.com/vuejs/core/issues/7939#issuecomment-1494016689) > The [template global whitelist](https://github.com/vuejs/core/blob/main/packages/shared/src/globalsWhitelist.ts?rgh-link-date=2023-04-03T09%3A50%3A12Z) has always only included language-level globa...
2023-08-24T12:02:04
2023-08-24T12:02:04
{}
MEMBER
vuejs
core
1,681,664,978
8,016
dkrystki
@ipalestine Have you managed to go around this?
2023-08-17T06:04:08
2023-08-17T06:04:08
{}
NONE
vuejs
core
1,681,869,517
8,996
edison1105
duplicate of https://github.com/vuejs/core/issues/8482
2023-08-17T08:36:42
2023-08-17T08:36:42
{}
MEMBER
vuejs
core
1,685,347,686
8,865
nopeless
I agree with this issue At the very least, `defineEmits` have to be updated, because it seems to reflect the return value of the event executor. Here is a repro https://stackblitz.com/edit/nuxt-starter-h7hy96?file=components%2FEmitMe.vue,app.vue,tsconfig.json However, I think it would be better if the devel...
2023-08-20T17:29:04
2023-08-20T17:29:04
{}
NONE
vuejs
core
1,685,726,765
4,294
hou-moliy
这个问题现在有办法解决了吗?我还是遇到这样的问题
2023-08-21T06:28:22
2023-08-21T06:28:22
{}
NONE
vuejs
core
1,685,869,971
7,783
sxzz
Closing this due to being conflicted. Also, #8584 is more comprehensive with adding ESLint rules.
2023-08-21T08:18:15
2023-08-21T08:18:15
{}
MEMBER
vuejs
core
1,685,658,081
8,565
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------- | ------- | ------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.5 kB | | vue.global.prod.js | 132 kB | 49.3 kB | 44.3 kB | ### Usages | Name | Size |...
2023-08-21T05:18:46
2023-08-22T11:53:04
{}
NONE
vuejs
core
1,690,568,998
7,444
sxzz
Looks great. Could you please rebase your branch to resolve conflicts? I guess this feature will more be like `defineSlots`. Without adding runtime code, but adding only TS types.
2023-08-23T20:08:58
2023-08-23T20:08:58
{}
MEMBER
vuejs
core
1,683,577,754
8,994
agileago
@LinusBorg i want to use decorator in class prototype method. so i can use `autobind` to bind this to prototype methods https://play.vuejs.org/#eNp9U8Fu2zAM/RVBl6ZIahfrToEbdOt62A7bsO6oiysziVpZEiQqzRD430dJsZe22wADNslH8j2SPvAPzlW7CHzJmyC9crgSRvXOemQH1sFaGbi1ZBswuGAe1mxga297dkZZZxO2jWgflOmOsdG86EBa36L1BBVG6jYEdmujwXv...
2023-08-18T08:46:33
2023-08-18T08:46:33
{}
NONE
vuejs
core
1,683,903,569
8,987
SavkaTaras
@baiwusanyu-c no worries at all. I saw the PR changes. I was just thinking maybe that could help. Thank you again
2023-08-18T13:13:40
2023-08-18T13:13:40
{}
NONE
vuejs
core
1,684,713,181
8,995
Alfred-Skyblue
Ok, thank you for your advice.
2023-08-19T02:58:04
2023-08-19T02:58:04
{}
MEMBER
vuejs
core
1,684,883,413
9,003
edison1105
duplicate of https://github.com/vuejs/core/issues/5256
2023-08-19T07:46:05
2023-08-19T07:46:05
{}
MEMBER
vuejs
core
1,682,256,664
8,997
Alfred-Skyblue
Considering the compatibility of the mobile terminal, temporarily close this PR.
2023-08-17T13:07:58
2023-08-17T13:07:58
{}
MEMBER
vuejs
core
1,683,513,462
3,936
TO-smichaelsen
Just sayin': I "resolved" this error by disabling my Adblocker chrome extension. Chrome Version 115.0.5790.173 (Offizieller Build) (64-Bit) Extension https://adblockplus.org/
2023-08-18T07:52:57
2023-08-18T07:52:57
{}
NONE
vuejs
core
1,685,581,303
8,890
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------- | ------- | ------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.4 kB | | vue.global.prod.js | 132 kB | 49.3 kB | 44.3 kB | ### Usages | Name | Size |...
2023-08-21T03:35:52
2023-08-21T03:35:52
{}
NONE
vuejs
core
1,685,582,626
9,008
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------- | ------- | ------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.4 kB | | vue.global.prod.js | 132 kB | 49.3 kB | 44.3 kB | ### Usages | Name | Size |...
2023-08-21T03:38:06
2023-08-21T03:38:06
{}
NONE
vuejs
core
1,685,772,317
4,294
so1ve
@hou-moliy 更新到3.3…
2023-08-21T07:09:34
2023-08-21T07:09:34
{ "+1": 1, "-1": 1 }
MEMBER
vuejs
core
1,685,778,089
8,681
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------------------- | ------------------- | -------------------- | | runtime-dom.global.prod.js | 85.8 kB (**+19 B**) | 32.7 kB (**+69 B**) | 29.5 kB (**+103 B**)...
2023-08-21T07:14:23
2023-08-21T07:14:23
{}
NONE
vuejs
core
1,687,388,624
9,011
zhangyx1998
### Update I further investigated the problem with the help of [vite-plugin-inspect](!https://github.com/antfu/vite-plugin-inspect). I have identified the exact cause of this problem: **[@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue) intentionally adds a `/*#__PURE__*/` mark for the rewritten defa...
2023-08-22T04:13:00
2023-08-22T07:01:36
{}
NONE
vuejs
core
1,689,113,470
9,020
baiwusanyu-c
The value of v-model has not changed after reset, maybe you need to reset them manually
2023-08-23T01:03:59
2023-08-23T01:03:59
{}
MEMBER
vuejs
core
1,690,556,899
9,026
0o001
> Could you please provide more info about this PR? Adding a helper function without using it is meaningless. There were functions that checked all the primitive types, and thinking that they could be helpful for future developments, I also added a function to perform the validation of this primitive type.
2023-08-23T19:59:32
2023-08-23T19:59:32
{}
NONE
vuejs
core
1,691,520,464
9,027
LinusBorg
Why?
2023-08-24T11:42:48
2023-08-24T11:42:48
{}
MEMBER
vuejs
core
1,659,887,292
8,780
zlx1134558955
At present, `<img width="200px" />` can render normally in SSR mode, but the width will be rewritten to `0` in CSR mode, I think this is a bug. At least the Vue team should ensure that this situation remains consistent in both ssr and csr modes. @edison1105 @Justineo I hope you can pay more attention to this issue. Tha...
2023-08-01T09:03:53
2023-08-17T10:03:18
{ "+1": 1 }
NONE
vuejs
core
1,683,814,121
8,983
sxzz
This means it is the minimum required version of Node.js for running CI/Unit tests. Adding a badge might confuse people into thinking it is the required version for running Vue.
2023-08-18T11:58:55
2023-08-18T11:58:55
{}
MEMBER
vuejs
core
1,685,580,936
8,888
dependabot[bot]
Superseded by #9008.
2023-08-21T03:35:16
2023-08-21T03:35:16
{}
CONTRIBUTOR
vuejs
core
1,684,925,758
9,006
mgibas
Sorry, `hello` property was a leftover - I just removed it from the repro.
2023-08-19T11:46:56
2023-08-21T15:22:14
{}
NONE
vuejs
core
1,690,899,565
9,025
wtto00
@edison1105 Thanks for your help. I opend a new issue in `vue-router`: https://github.com/vuejs/router/issues/1967 This issue is closed now.
2023-08-24T02:34:28
2023-08-24T02:34:28
{}
NONE
vuejs
core
1,683,563,124
8,981
LinusBorg
Please provide a fully runnable production. We can't investigate this without one.
2023-08-18T08:34:32
2023-08-18T08:34:32
{}
MEMBER
vuejs
core
1,683,764,812
8,368
Kiruse
I can confirm that this issue is affecting my webpack setup as well. vue on version 3.3.4 fails as though pre-processing is never run, whereas vue v3.2.47 works perfectly. Here are the errors I receive when trying to build with v3.3: ``` ERROR in ./views/home.vue?vue&type=script&lang=coffee (./node_modules/coffe...
2023-08-18T11:17:41
2023-08-18T11:17:41
{}
NONE
vuejs
core
1,686,263,274
8,584
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------- | ------- | ------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.5 kB | | vue.global.prod.js | 132 kB | 49.3 kB | 44.3 kB | ### Usages | Name | Size |...
2023-08-21T12:46:41
2023-08-23T14:21:00
{}
NONE
vuejs
core
1,685,305,829
8,972
sxzz
Duplicate of #8992
2023-08-20T14:59:39
2023-08-20T14:59:39
{}
MEMBER
vuejs
core
1,685,581,772
8,887
dependabot[bot]
Superseded by #9010.
2023-08-21T03:36:40
2023-08-21T03:36:40
{}
CONTRIBUTOR
vuejs
core
1,685,821,933
8,985
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------- | ------- | ------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.4 kB | | vue.global.prod.js | 132 kB | 49.3 kB | 44.3 kB | ### Usages | Name | Size |...
2023-08-21T07:46:39
2023-08-21T07:46:39
{}
NONE
vuejs
core
1,686,656,325
9,013
rijenkii
I have left a message in Discord, will duplicate it here as well because as of now I am a bit stumped. I've looked at netlify-deployed sfc playground: JS is generated as expected, but TS tooltip does not contain the component documentation: `<script>`: https://tinyurl.com/486sk8dm `<script setup>`: https://tinyurl...
2023-08-21T16:34:02
2023-08-21T16:35:20
{}
NONE
vuejs
core
1,688,225,918
7,881
Anoesj
Tagging @danielroe, maybe you have some ideas on how to properly add this to Vue? :smiley:
2023-08-22T13:48:42
2023-08-22T13:48:42
{ "+1": 3 }
NONE
vuejs
core
1,690,879,368
9,029
rudyxu1102
can you add a unit test?
2023-08-24T02:04:16
2023-08-24T02:04:16
{}
CONTRIBUTOR
vuejs
core
1,691,553,113
9,031
sxzz
Duplicate of #8466
2023-08-24T12:06:35
2023-08-24T12:06:35
{}
MEMBER
vuejs
core
1,681,229,555
8,992
netlify[bot]
### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed. | Name | Link | |:-:|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | e6ef1c9751aa341374d097f47797c15b0676db3d | |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue...
2023-08-16T20:29:56
2023-08-16T20:29:56
{}
NONE
vuejs
core
1,683,884,935
8,987
baiwusanyu-c
> Hey @LinusBorg @baiwusanyu-c , > > Do you guys think it's worth adding a Number() wrapper around any number value? It would enforce the number conversion. Since the user is clearly defining a number, the enforcement could be helpful. > > Thanks This case of customElement can be specially handled in the compiler, ...
2023-08-18T12:59:37
2023-08-18T12:59:37
{}
MEMBER
vuejs
core
1,686,190,563
8,991
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------------------ | ------------------- | ------------------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.4 kB | | v...
2023-08-21T11:55:13
2023-08-21T11:55:13
{}
NONE
vuejs
core
1,689,081,082
7,677
mrleblanc101
@nborko Well, in your first exemple the `opt` props is optional `opt?: string`. But in your second the props is not (you ommited the `?`). You code should be this: ``` const props = withDefaults(defineProps<Props>(), { opt?: () => undefined }) ```
2023-08-23T00:13:15
2023-08-23T00:13:15
{}
NONE
vuejs
core
1,690,879,484
9,025
edison1105
@wtto00 maybe you need also add a key to `<component :is="Component" v-if="!route.meta.keepAlive" />`. please open an issue in [router](https://github.com/vuejs/router/issues?q=is:issue+is:open+sort:updated-desc) if it is not working
2023-08-24T02:04:28
2023-08-24T02:04:28
{}
MEMBER
vuejs
core
1,681,889,340
8,475
cowabonga
@edison1105 , i need this. please merge ASAP. thanks.
2023-08-17T08:51:14
2023-08-17T08:51:14
{}
NONE
vuejs
core
1,683,571,575
8,987
LinusBorg
@baiwusanyu-c This is a bug, but your PR won't comletely solve it. when defining a prop like this, without a default: ```ts <script setup lang="ts"> const props = defineProps<{ foo: number }>() </script> <template> <div>{{ foo + bar }}</div> </template> ``` We end up with this in production...
2023-08-18T08:41:31
2023-08-18T08:41:31
{ "+1": 2 }
MEMBER
vuejs
core
1,683,582,730
8,994
LinusBorg
That's also a solution, great 👍
2023-08-18T08:50:39
2023-08-18T08:50:39
{}
MEMBER
vuejs
core
1,685,864,835
8,048
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | -------------------- | -------------------- | ------------------- | | runtime-dom.global.prod.js | 86.2 kB (**+433 B**) | 32.7 kB (**+97 B**) | 29.5 kB (**+90 B...
2023-08-21T08:14:38
2023-08-21T08:14:38
{}
NONE
vuejs
core
1,686,169,503
9,013
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------- | ------- | ------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.4 kB | | vue.global.prod.js | 132 kB | 49.3 kB | 44.3 kB | ### Usages | Name | Size |...
2023-08-21T11:40:18
2023-08-21T11:40:18
{}
NONE
vuejs
core
1,689,534,159
9,024
Justineo
Hi, thanks for your interest but GitHub issues are for bug reports and feature requests only. You can ask questions in [Discussions](https://github.com/vuejs/core/discussions) or our [Discord server](https://discord.com/channels/325477692906536972).
2023-08-23T08:39:49
2023-08-23T08:39:49
{}
MEMBER
vuejs
core
1,690,542,665
9,026
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------- | ------- | ------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.5 kB | | vue.global.prod.js | 132 kB | 49.3 kB | 44.3 kB | ### Usages | Name | Size |...
2023-08-23T19:46:59
2023-08-23T19:46:59
{}
NONE
vuejs
core
1,690,580,760
9,026
sxzz
But for now, we can't see any chance to introduce BigInt into vue core, since BigInt is introduced in ES2020. But for Vue core, our compatible level is ES2015. If we do introduce BigInt, maybe it won't be too late to think about it then. Thx anyway!
2023-08-23T20:18:10
2023-08-23T20:18:10
{ "heart": 1 }
MEMBER
vuejs
core
1,690,844,647
9,025
wtto00
> see https://router.vuejs.org/guide/advanced/transitions.html#Forcing-a-transition-between-reused-views @edison1105 Thanks for your reply, how to use `<keep-alive>` conditionally at the same time?
2023-08-24T01:18:23
2023-08-24T01:18:23
{}
NONE
vuejs
core
1,683,538,880
8,464
skirtles-code
Is it safe to assume that the value returned from `toRef()` is deep readonly? If the value that's returned is an external reactive object (which seems quite a likely scenario in practice) then there should be no problem mutating a nested property: ```ts const a = reactive({ b: { c: { d: 7 } } }) const c = toRef(...
2023-08-18T08:14:31
2023-08-18T08:14:31
{ "+1": 2 }
CONTRIBUTOR
vuejs
core
1,685,582,221
8,957
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------- | ------- | ------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.4 kB | | vue.global.prod.js | 132 kB | 49.3 kB | 44.3 kB | ### Usages | Name | Size |...
2023-08-21T03:37:22
2023-08-21T03:37:22
{}
NONE
vuejs
core
1,685,582,854
9,009
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------- | ------- | ------- | | runtime-dom.global.prod.js | 85.8 kB | 32.6 kB | 29.4 kB | | vue.global.prod.js | 132 kB | 49.3 kB | 44.3 kB | ### Usages | Name | Size |...
2023-08-21T03:38:20
2023-08-21T03:38:20
{}
NONE
vuejs
core
1,685,781,599
8,536
github-actions[bot]
## Size Report ### Bundles | File | Size | Gzip | Brotli | | -------------------------- | ------------------- | ------------------- | ------------------- | | runtime-dom.global.prod.js | 85.8 kB (**-15 B**) | 32.6 kB (**+13 B**) | 29.5 kB (**+41 B**) | ...
2023-08-21T07:17:08
2023-08-21T07:17:08
{}
NONE
vuejs
core
1,686,349,708
8,152
so1ve
> Try to use zod, @wht300 Not possible with vue's compiler, but possible with https://github.com/so1ve/unplugin-vue-complex-types :D
2023-08-21T13:38:35
2023-08-21T13:38:35
{ "+1": 1 }
MEMBER
vuejs
core
1,689,563,522
8,472
edison1105
duplicate of https://github.com/vuejs/core/issues/7285
2023-08-23T08:59:03
2023-08-23T08:59:03
{}
MEMBER
vuejs
core
1,681,415,211
8,983
btea
I see that there is an engines field in package.json that limits the compatible version of `node`. However, vue does not need to rely on `node` in the production environment, It's ok that don't add it.
2023-08-17T00:01:49
2023-08-17T00:01:49
{}
CONTRIBUTOR