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,537,029,612
7,942
netlify[bot]
### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed. | Name | Link | |:-:|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | eedf48f675ec10883e357b1a89efd8cb899cfb2f | |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue...
2023-05-06T03:14:48
2023-05-06T03:14:48
{}
NONE
vuejs
core
1,535,731,417
7,942
baiwusanyu-c
current problems ~1. The hot update seems to be invalid~ ~2. When the component only has a single node, the scopeId is not generated~ ~3. Haven't tested cssvars yet~ ~4. hmr causes duplicate tags~
2023-05-05T05:53:21
2023-05-06T03:18:34
{}
MEMBER
vuejs
core
1,537,150,225
8,178
sxzz
We need an RFC for this proposal. Please create a discussion on https://github.com/vuejs/rfcs/discussions
2023-05-06T14:09:10
2023-05-06T14:09:10
{}
MEMBER
vuejs
core
1,527,052,607
8,171
johnsoncodehk
The author's description of the problem is not very clear, when he actually reproduced the problem, he did not run `vue-tsc` but ran `vite`, so it's not related to upgrading vue-tsc / Volar.
2023-04-28T06:24:38
2023-04-28T06:24:38
{}
MEMBER
vuejs
core
1,527,163,341
8,183
edison1105
duplicate of https://github.com/vuejs/core/issues/7871
2023-04-28T08:09:58
2023-04-28T08:09:58
{}
MEMBER
vuejs
core
1,510,967,462
4,294
liulich3ng
still not support this feature in 2023. Really surprised.
2023-04-17T09:02:08
2023-04-29T11:39:19
{}
NONE
vuejs
core
1,533,037,652
8,223
jd1378
Asked on discord, answer: >jacek: you can either `<div v-if="duseDrective" v-test /><div v-else>` or `<div v-test="useDirective">` or https://discord.com/channels/325477692906536972/1051531398676217857/1053596780597612636 copying the link content here for keeping history: >posva: I see. In my experience, a direc...
2023-05-03T13:32:29
2023-05-03T16:28:07
{}
NONE
vuejs
core
1,537,415,666
8,247
dammy001
@xiaohongju i think you should just externalize `fsevents` in your vite config ` optimizeDeps: { exclude: ['fsevents'], },`
2023-05-07T11:23:20
2023-05-07T11:23:20
{}
NONE
vuejs
core
1,526,977,219
8,180
LinusBorg
This is expected, yes.
2023-04-28T04:33:19
2023-04-28T04:33:19
{}
MEMBER
vuejs
core
1,527,043,224
8,177
yyx990803
https://github.com/vuejs/core/pull/8018
2023-04-28T06:15:09
2023-04-28T06:15:09
{}
MEMBER
vuejs
core
1,531,439,037
8,173
edison1105
use `shallowRef` instead of `ref` [see](https://play.vuejs.org/#eNrVVttu4zYQ/ZWBFkWUxJLsZJMCqmOkL20XaNFi24cWq32gJcpWLZGCRDnxGvn3HpK6+dIs2gILNDEgcXjmwpkzQ+2db8vS3zbcCZ15HVdZqajmqikXkciKUlaK9lTxlF4orWRBF4Be9Fu/4pnzH7Natbt+MIi01QH6XSM2uwNkL2mBRJGIpQBixdU7kamM5e8UL2p6IPeSHhb0YTahmwndTujthO4+dvCsBSFM90jVvbyMRM6BSQAwQH/L8ob7...
2023-05-02T13:02:58
2023-05-02T13:04:59
{}
MEMBER
vuejs
core
1,533,119,180
7,942
SavkaTaras
Hello @LinusBorg , I hope you are well. Could you please look at this PR and decide if that's a valid fix for #4662 once you have some time? Thank you so much, Taras Savka
2023-05-03T14:22:59
2023-05-03T14:22:59
{}
NONE
vuejs
core
1,536,000,824
4,733
mika76
@rdunk does not adding a check for Text nodes change the fundamental function? My definition of an empty vnode is not a vnode with text in it. Would this not return true if you just put text into a slot?
2023-05-05T09:43:44
2023-05-05T09:43:44
{}
NONE
vuejs
core
1,536,059,155
8,235
xflyyxfl
> 看你的例子,你使用了v-model.lazy, 只有在按回车或者输入框失去聚焦后才会触发watch的 是的,所以呢,是这样不合理吗
2023-05-05T10:35:37
2023-05-05T10:35:37
{}
NONE
vuejs
core
1,530,023,326
8,208
brc-dd
PS: we should also reconsider opening #661
2023-05-01T18:03:54
2023-05-01T18:03:54
{}
MEMBER
vuejs
core
1,535,600,309
8,015
Allihol
附议。很需要这个功能,团队不方便用jsx Much needed feature
2023-05-05T01:53:01
2023-05-05T01:53:01
{}
NONE
vuejs
core
1,536,245,976
8,236
danielroe
For a temporary workaround, you might consider [this rollup plugin](https://github.com/danielroe/rollup-plugin-pure).
2023-05-05T13:14:17
2023-05-05T13:14:17
{}
MEMBER
vuejs
core
1,537,542,056
7,755
fenilli
I think a somewhat way of doing it is like @LinusBorg mentioned, using provide/inject, if you know those components are tight coupled there isn't a problem on doing: ```js // Dialog const isClosed = ref(false); const close = () => isClosed.value = true; provide('Dialog', { isClosed: readonly(isClosed), close });...
2023-05-07T21:13:51
2023-05-07T21:15:34
{}
NONE
vuejs
core
1,537,695,659
8,245
yyx990803
Same reason explained here: https://github.com/vuejs/core/issues/8149#issuecomment-1521009456 Closing as duplicate of #8149
2023-05-08T03:45:44
2023-05-08T03:45:44
{}
MEMBER
vuejs
core
1,527,382,684
7,836
sto3psl
Since 3.3 is in beta now it would be amazing if this feature could land as well! What do you think @yyx990803?
2023-04-28T10:54:35
2023-04-28T10:54:35
{ "+1": 5 }
CONTRIBUTOR
vuejs
core
1,530,029,323
4,397
femans
I am bumping into this issue as well, more or less, when I do this: ``` const DoneList = ref<InstanceType<typeof ArrangeableList | null>>(null); ``` I get the issue, (after turning Volar into takeover mode): ``` Type '<PayloadType extends object>(__VLS_props: Props & VNodeProps & AllowedComponentProps & Component...
2023-05-01T18:08:44
2023-05-01T18:08:44
{ "+1": 5 }
NONE
vuejs
core
1,531,347,186
8,203
edison1105
duplicate of https://github.com/vuejs/core/issues/6913 as a workaround ```js const icon = computed(() => { setBlockTracking(-1) const res = h(BackTopIcon) setBlockTracking(1) return res }); ```
2023-05-02T12:00:49
2023-05-02T12:07:39
{}
MEMBER
vuejs
core
1,532,955,786
8,171
StepanMynarik
@johnsoncodehk I noticed possibly related stuff in language-tools updates (1.6.2, 1.6.3) that came since reporting this issue. Now it sometimes works, sometimes doesnt. The weirdest thing is that the website runs perfectly whether the error occurs or not. I will try to find out why the error sometimes occurs and ...
2023-05-03T12:35:11
2023-05-04T06:50:36
{}
NONE
vuejs
core
1,534,340,885
7,871
d-ryabtsev
> > > The prefix 'on' is considered an event. It is not recommended to use the 'on' prefix as a boolean attribute. > > > > > > I appreciate that but this is not obvious from the docs and it is something that is difficult to change in large applications when moving from Vue 2 to Vue 3. > > You're right in that d...
2023-05-04T08:57:28
2023-05-04T08:57:28
{}
NONE
vuejs
core
1,535,594,060
8,158
max512060925
update @vitejs/plugin-vue to 4.2.1 fixed
2023-05-05T01:41:19
2023-05-05T01:41:19
{}
NONE
vuejs
core
1,527,219,706
8,177
abumalekFayed
> ``` > <script lang="ts" setup> > const modelValue = defineModel<string>({ default: '' }); > </script> > > <template> > <input v-model="modelValue" /> > </template> > ``` > > ``` > <script lang="ts" setup> > import { ref } from 'vue'; > > import TextField from '~/components/TextField.vue'; > > co...
2023-04-28T08:57:30
2023-04-28T08:57:30
{}
NONE
vuejs
core
1,527,315,729
8,186
pangao66
你应该是将props弄成响应式 而不是里面的值弄成响应式 ```vue <template> <component :is="Comp" v-bind="props" /> </template> <script setup> import { onMounted, ref, computed, defineComponent } from 'vue' import Comp from './Comp.vue' const tmp = ref(true) const props = computed(()=>{ return { isRedText:tmp.value } }...
2023-04-28T10:05:11
2023-04-28T10:05:36
{ "+1": 1 }
NONE
vuejs
core
1,529,000,006
8,169
LinusBorg
Vue's computed properties will always work this way - tracking reactive dependencies automatically. Vue's reactivity at its heart is precisely about *automatic* dependency tracking. And as there are existing solutions in the ecosystem to solve this edge case, I can say that we don't see a need to make this a part of Vu...
2023-04-30T11:19:03
2023-04-30T11:19:03
{}
MEMBER
vuejs
core
1,531,547,625
8,203
nined9
> @nined9 see #8213 Niubility!
2023-05-02T14:07:16
2023-05-02T14:07:35
{}
NONE
vuejs
core
1,532,572,843
8,214
LinusBorg
Why should it be `null`?
2023-05-03T07:29:33
2023-05-03T07:29:33
{}
MEMBER
vuejs
core
1,537,030,792
7,942
baiwusanyu-c
@johnp Thank you very much for your help. I modified the implementation logic, but this is not a small modification. I still need more tests. If you have other test cases, you can provide them to me, and we can discuss how to solve them together.
2023-05-06T03:19:49
2023-05-06T03:19:49
{}
MEMBER
vuejs
core
1,537,108,585
4,733
marina-mosti
There seems to still be a lot of back and forth and people struggling with this, so I'm sharing the composable I use at work for whoever needs: https://gist.github.com/marina-mosti/99b08783b161fa4ba21ebd2ec664fa14#file-useemptyslotcheck-js It builds up on some great ideas posted here, and can probably be improved in m...
2023-05-06T10:11:19
2023-05-06T10:11:19
{ "+1": 4, "heart": 3, "hooray": 1 }
NONE
vuejs
core
1,537,550,575
7,942
johnp
@baiwusanyu-c You're welcome. While I don't have enough knowledge of the Vue codebase to implement a proper/maintainable fix, I figured your PR had the highest chance of eventually being merged, so I wanted to at least help in reviewing/testing. (at my $dayjob we have custom element applications which are stuck on Vue...
2023-05-07T22:04:42
2023-05-07T22:29:13
{}
NONE
vuejs
core
1,193,951,993
4,662
kolyaraketa
+1 Urgently need this too!
2022-07-25T11:52:57
2023-04-28T03:25:58
{}
NONE
vuejs
core
1,527,134,386
8,177
abumalekFayed
> #8018 I mean short word for @update:model-Value not v-model
2023-04-28T07:45:26
2023-04-28T07:46:21
{}
NONE
vuejs
core
1,531,494,750
8,203
edison1105
@nined9 see https://github.com/vuejs/core/pull/8213
2023-05-02T13:37:42
2023-05-02T13:37:42
{}
MEMBER
vuejs
core
1,536,722,118
5,833
Heniker
This bug can be triggered more easily - ```js import * as v from 'vue' v.h(v.Teleport) // ts-error - No overload matches this call ``` Happens only with `Teleport`
2023-05-05T20:08:02
2023-05-05T20:08:02
{}
NONE
vuejs
core
1,537,060,157
8,240
baiwusanyu-c
In the reproduction project you provided, I didn't find any place that can trigger the change of `part2RightTextList`, so I can't locate the problem. Please provide more valid information
2023-05-06T05:53:40
2023-05-06T05:53:40
{}
MEMBER
vuejs
core
1,508,150,408
4,294
Miofly
vue-macros many higher order types of ts cannot be used,Will version 3.3 fix this? i want use Partial Pick and custom ts type in defineProps ``` interface FullScreenProps extends IconTextProps { } const props = defineProps<Partial<FullScreenProps>>(); ```
2023-04-14T08:40:27
2023-04-14T08:44:56
{ "eyes": 1 }
NONE
vuejs
core
1,508,591,842
7,997
darrylnoakes
Currently, `toRef(reactiveObject, 'prop')` lets me update the props on the reactive object via the created ref. Is this syntax still the only way to do this, after these changes? Is it recommended against? My code uses it to interface with a Pinia store. Example: ```typescript const size = toRef(store, "fontSi...
2023-04-14T14:05:57
2023-04-14T14:05:57
{ "+1": 1 }
NONE
vuejs
core
1,510,232,574
8,083
innocenzi
@yyx990803 Thank you so much! ❤️
2023-04-16T09:43:48
2023-04-16T09:43:48
{ "rocket": 1 }
NONE
vuejs
core
1,511,194,080
8,096
pangao66
https://github.com/vuejs/core/pull/7982 defineSlots have been add in vue 3.3.0- appha5
2023-04-17T11:49:55
2023-04-17T11:49:55
{ "+1": 2 }
NONE
vuejs
core
1,512,620,834
7,876
baiwusanyu-c
Are you successful in a production environment? I was troubleshooting and found that `errorHandler` seems to end up in the `logError` function, and logError just prints the error and never throws it in production (maybe I'm wrong 🤣) @sodatea > packages/runtime-core/src/errorHandling.ts -- 》logError
2023-04-18T07:52:34
2023-04-18T07:52:34
{}
MEMBER
vuejs
core
1,515,616,964
8,099
baiwusanyu-c
其实 vueuse 里有相关的实现,加入到框架中确实没有太大必要,用户如果需要的话可以去使用 vueuse
2023-04-20T02:17:52
2023-04-20T02:17:52
{}
MEMBER
vuejs
core
1,510,813,324
8,095
netlify[bot]
### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed. | Name | Link | |:-:|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | 644c75524ccde541a0425539b67a2840bcf6f462 | |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue...
2023-04-17T07:04:29
2023-04-17T07:04:29
{}
NONE
vuejs
core
1,514,097,907
8,116
edison1105
Could you provide a runnable minimal reproduction?
2023-04-19T03:58:21
2023-04-19T03:58:21
{}
MEMBER
vuejs
core
1,514,313,841
8,104
Hccake
对于使用 ExtractPropTypes 提取出的类型也无法支持
2023-04-19T08:08:28
2023-04-19T08:08:28
{}
NONE
vuejs
core
1,515,613,484
5,151
cyrilluce
Another work around BTW, this behavior is werid. I'm using vue 3, and thought `onCleanup(disposer)` is equal to React's `return disposer`, and even should accept multiple disposers, see https://github.com/vuejs/core/issues/3341 ```ts const count = ref(0); watch(count, (value, oldValue, onInvalidate) => { // ...
2023-04-20T02:11:21
2023-04-20T02:11:21
{ "+1": 1 }
CONTRIBUTOR
vuejs
core
1,506,991,970
8,051
yyx990803
Thanks for the PR, I needed to bump the Repl for ongoing 3.3 work, so I landed part of the changes in this PR in 1c06fe1d.
2023-04-13T13:45:55
2023-04-13T13:45:55
{}
MEMBER
vuejs
core
1,509,709,534
8,084
LinusBorg
Yeah that should likely be removed from the README, we actually don't generate that.
2023-04-15T09:52:55
2023-04-15T09:52:55
{}
MEMBER
vuejs
core
1,510,813,407
8,095
netlify[bot]
### <span aria-hidden="true">❌</span> Deploy Preview for *vue-next-template-explorer* failed. | Name | Link | |:-:|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | 644c75524ccde541a0425539b67a2840bcf6f462 | |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/s...
2023-04-17T07:04:32
2023-04-17T07:04:32
{}
NONE
vuejs
core
1,510,984,649
4,294
f15u
PR got merged 3 days ago: https://github.com/vuejs/core/pull/8083
2023-04-17T09:12:16
2023-04-17T09:12:16
{ "rocket": 13 }
NONE
vuejs
core
1,515,716,669
8,083
edison1105
@Hccake Would you mind providing a runnable minimal reproduction?
2023-04-20T05:01:48
2023-04-20T05:01:48
{}
MEMBER
vuejs
core
1,504,392,643
7,286
vercel[bot]
@zhangzhonghe is attempting to deploy a commit to the **vuejs** Team on [Vercel](https://vercel.com). A member of the Team first needs to [authorize it](https://vercel.com/git/authorize?team=vuejs&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%22204a65a5444bcce38607aa30e1543380cbb2e3b4%22%7D%2C%22id%22%3A%22QmRaY...
2023-04-12T01:30:33
2023-04-12T01:30:33
{}
NONE
vuejs
core
1,504,991,217
6,219
hminghe
> > > `include` 其实就可以实现了,把组件包裹一层自定义一下的 name 就可以了。 参考: https://github.com/hminghe/md-admin-element-plus/blob/main/src/components/multi-window/components/MultiWindowKeepAlive.vue > > > 不过还有一点点BUG, 等这个合并了就完美了。#6235 > > > > > > 给个赞,你的这个方式能解决我的问题!!!感谢大佬的思路! > > ```js > > // 代码大概会是这样子 > > > > import { h } from 'vu...
2023-04-12T09:54:03
2023-04-12T09:54:03
{}
NONE
vuejs
core
1,506,521,347
6,434
G1King
@ddmy ![image](https://user-images.githubusercontent.com/21077737/231693401-1ee5c66d-559a-4af3-a63e-aa61d2505fec.png) 也报错了
2023-04-13T07:59:34
2023-04-13T07:59:34
{}
NONE
vuejs
core
1,506,644,770
8,074
Maxim-Mazurok
Here's the repro: https://github.com/Maxim-Mazurok/vue-8074-repro Latest Vue is used. Updating from vuetify `3.1.4` to `3.1.5` "resolves" the issue. And running `npm update` and then reverting back to `vuetify 3.1.4` also "resolves" the issue. I'm saying "resolves" in quotes because I assume that `vue` still ha...
2023-04-13T09:27:50
2023-04-13T09:27:50
{}
NONE
vuejs
core
1,513,654,870
8,086
johnwc
What would really help is if the number modifier like `v-model.number="varName"` would allow valid characters like commas. As well as more modifiers like `v-model.percent="varName"`, `v-model.currency="varName"`, etc...
2023-04-18T18:58:04
2023-04-18T18:58:04
{}
NONE
vuejs
core
1,514,431,940
8,083
Hccake
After using the 3.3.0 alpha version, an error is reported: `Unresolvable type reference or unsupported built-in utilility type` code like : ```ts interface MyComponentProps extends ComponentProps { someprop: string } const props = withDefaults(defineProps<MyComponentProps>(), { someprop: 'xxxx' }) ...
2023-04-19T09:38:21
2023-04-19T09:38:21
{}
NONE
vuejs
core
1,514,821,163
8,121
jahermosilla
Maybe related: #8105
2023-04-19T14:19:22
2023-04-19T14:19:22
{}
NONE
vuejs
core
1,515,615,252
8,099
yyx990803
我觉得这样的 overload 属于过度设计了,用法体验上并没有本质提升,但是增加了实现和维护复杂度。
2023-04-20T02:14:33
2023-04-20T02:14:33
{}
MEMBER
vuejs
core
1,506,499,109
8,034
LinusBorg
It can be the key of a Map, yes.
2023-04-13T07:41:32
2023-04-13T07:41:32
{}
MEMBER
vuejs
core
1,508,118,281
8,012
vercel[bot]
Someone is attempting to deploy a commit to the **vuejs** Team on [Vercel](https://vercel.com). A member of the Team first needs to [authorize it](https://vercel.com/git/authorize?team=vuejs&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%222ba87e3cb0bef143920cf5e36ed30067ba33760b%22%7D%2C%22id%22%3A%22QmdhG1ACSDa...
2023-04-14T08:16:56
2023-04-14T08:16:56
{}
NONE
vuejs
core
1,508,385,974
7,155
martinszeltins
I am having the same issue in Vue 3.3.0 - [Bug: HMR does not work in 3.3 alpha 9](https://github.com/vuejs/core/issues/8061) Another related issue: [[Bug] Vue 3 HMR does not work inside a default slot using PrimeVue](https://github.com/vuejs/core/issues/7234)
2023-04-14T11:49:31
2023-04-14T11:52:05
{}
NONE
vuejs
core
1,509,175,693
5,363
jaredmcateer
I tested @yyx990803's gist in chrome 104 and 112, while the chromium issue appeared to have been fixed in 104, it's back in 112 or something similar anyways. I also tested the original reproduction with Vue 3.2.47 in both chrome 104 and 112 and I see detached nodes in both versions, so as mentioned above it doesn't see...
2023-04-14T20:05:52
2023-04-14T20:05:52
{}
NONE
vuejs
core
1,509,708,559
8,082
LinusBorg
It is. just like declared props, declared events are not part of `attrs`. Otherwise, these events would all automatically be passed onto the component's root element as fallthrough attributes. Currently though, unlike for props, there is no dedicated api to check wether a listener for a declared event has been passe...
2023-04-15T09:50:19
2023-04-15T09:52:25
{}
MEMBER
vuejs
core
1,510,448,727
5,625
adambergman
> > @sqal > > > add `"skipLibCheck": true` to your tsconfig.json > > > > > > Does this fix anything or does it just hide the underlying issue? > > It does. I'm not sure that this "fixes" the issue as @f1am3d says. It seems like it just hides it to me. Sure, vue-tsc no longer complains about third party code...
2023-04-16T18:13:47
2023-04-16T18:13:47
{ "eyes": 2 }
NONE
vuejs
core
1,512,248,899
8,086
johnwc
@LinusBorg Here is a example of it not working. https://jsfiddle.net/n5uyadpm/2/ Change the value in the second input from `401.7` to `4010.7`. It fires in every other browser, except Safari.
2023-04-17T23:55:22
2023-04-17T23:55:50
{}
NONE
vuejs
core
1,512,899,954
7,876
brillout
Indeed, this seems to be a viable workaround. @baiwusanyu-c This is how I made it work: https://github.com/brillout/vue-renderToString-bug/commit/68c0707d1663a81f25dd335f6d2056cc7cd8fcaa.
2023-04-18T11:17:34
2023-04-18T11:56:59
{}
NONE
vuejs
core
1,513,993,516
7,434
vercel[bot]
Deployment failed with the following error: ~~~ The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty. ~~~
2023-04-19T01:10:57
2023-04-19T01:10:57
{}
NONE
vuejs
core
1,514,660,344
7,969
HonzaKubita
@tho-daskalakis That would get messy with multiple validators or modifiers. I'm not looking for alternative ways to do this. You could say we don't need router as we could do v-if on every page and then have a variable which determined on which page are we. I'm requesting it because it already is in vue it just cannot ...
2023-04-19T12:36:26
2023-04-19T12:36:49
{}
NONE
vuejs
core
1,514,853,837
7,969
HonzaKubita
First of all how do you want to break up one input into multiple ones that's my first question. And right now this would make it more readable. Right now if you would like to chain those validation methods you would have to make functions that call each other and the last would change the value. With my solution you w...
2023-04-19T14:37:10
2023-04-19T14:37:10
{}
NONE
vuejs
core
1,506,517,380
6,434
G1King
我也遇到了 怎么解决呢
2023-04-13T07:56:45
2023-04-13T07:56:45
{}
NONE
vuejs
core
1,511,201,689
4,635
rogyvoje
This would come in hand as we can create embeddable apps isolated from websites where we use them. Really powerful feature, but this has to work with styles as well, as by default it will inject the styles inside the root HTML and not the shadowed one. I experimented a little with this but it is not possible to sat...
2023-04-17T11:56:29
2023-04-17T12:12:42
{ "+1": 2 }
NONE
vuejs
core
1,513,147,859
5,303
RichardJECooke
I found emahuni's answer above does not work, and doesn't have TS definitions. I used: ```bash npm i ramda npm i @types/ramda ``` and then `R.clone(state)` before saving my state to IndexDB. If you don't do this first then IndexDB will give you an `DOMException: Failed to execute 'put' on 'IDBObjectStor...
2023-04-18T13:23:07
2023-04-18T13:24:23
{}
NONE
vuejs
core
1,513,587,270
8,106
svenhue
Came out that the problem was the slot in the "ModellingElement" component. I modified my "BaseRenderer" Component so that I'm able to work around the slot in the ModellingElement component. I changed this: ```` <template> <Teleport :to="'#'+ props.element.properties.envcontextid"> <slot></slot> ...
2023-04-18T18:01:40
2023-04-18T18:03:28
{}
NONE
vuejs
core
1,513,649,070
8,086
LinusBorg
> @LinusBorg Here is a example of it not working. [jsfiddle.net/n5uyadpm/2](https://jsfiddle.net/n5uyadpm/2/) Change the value in the second input from `401.7` to `4010.7`. It fires in every other browser, except Safari. Interesting. It only happens with the formatter though. if you just return the raw value from th...
2023-04-18T18:52:48
2023-04-18T18:53:31
{}
MEMBER
vuejs
core
1,510,306,683
8,083
nikuscs
Damn, amazing work! Thanks a ton!
2023-04-16T11:29:14
2023-04-16T11:29:14
{}
NONE
vuejs
core
1,515,063,548
8,117
LinusBorg
I don't think we can reliably detect that this import is actually a valid asset string. So you will need to create the correct css url value yourself and bind that. ```html <script lang="ts" setup> import shape from "@/assets/shape.svg"; const shapeUrl = `url(${shape})` </script> <style scoped lang=scss> div ...
2023-04-19T16:53:00
2023-04-19T16:53:00
{ "+1": 5 }
MEMBER
vuejs
core
1,506,508,957
8,074
Maxim-Mazurok
I'll try to come up with something, likely this weekend We're basically using VTL and Vuetify VSelect.
2023-04-13T07:49:46
2023-04-13T07:49:46
{}
NONE
vuejs
core
1,507,267,767
4,737
bvossler
Same issue here
2023-04-13T16:37:33
2023-04-13T16:37:33
{ "+1": 1 }
NONE
vuejs
core
1,511,189,577
4,294
edison1105
closed via https://github.com/vuejs/core/pull/8083
2023-04-17T11:45:52
2023-04-17T11:45:52
{ "+1": 2, "heart": 3, "hooray": 15, "rocket": 4 }
MEMBER
vuejs
core
1,514,426,549
3,118
SimonSimCity
Seems this has been picked up again in #5089
2023-04-19T09:34:05
2023-04-19T09:34:05
{}
NONE
vuejs
core
1,514,580,872
7,969
tho-daskalakis
You could add a listener for value changes in your input, that would call the validate function and update your data. Then you could bind your input to your variable. Basically skip v-model (two way binding) and use v-bind (one way bind) instead, with a listener.
2023-04-19T11:38:11
2023-04-19T11:38:11
{}
NONE
vuejs
core
1,515,057,330
8,122
LinusBorg
This is kinda expected because after 100 has been set for the first time, for any new input above 100, 1. the NumberInput emits the same value each time: 100. 2. So the parent never needs to re-render, 3. and as result never passes a new `modelValue`value to the child, 4. so the NumberValue never re-renders a...
2023-04-19T16:47:43
2023-04-19T16:47:43
{ "heart": 1 }
MEMBER
vuejs
core
1,505,870,071
2,819
fredcallaway
@posva this issue is not fixed. If you're only willing to address issues with minimal reproducible examples, then you shouldn't ask people to open issues (see the warning messages above).
2023-04-12T20:15:10
2023-04-12T20:57:28
{}
NONE
vuejs
core
1,506,693,919
7,585
DawidKopys
What about slots passed to the functional components? I feel that the API should also cover that, like so: ```typescript // MyComponent.ts import { h, defineFunctionalComponent } from 'vue' export type MyComponentProps = { ... } export type MyComponentEmits = { ... } export type MyComponentSlots = { ... } ...
2023-04-13T10:02:36
2023-04-13T10:02:36
{}
NONE
vuejs
core
1,506,821,847
6,434
ddmy
> 我也遇到了这个问题,我自己封装了一个vue组件上传到了npm,当在项目中引入时也会有类似的警告,导致加载组件挂载不成功。 我调试vite打包后的`dist`目录文件,发现`setup`方法内的 `onMounted`方法并未执行。 ![image](https://user-images.githubusercontent.com/19168372/212818342-41e0a393-e6b4-4e96-a684-1512e35d0dd7.png) 已经解决了,问题原因是因为 插件依赖的VUE版本和项目的VUE版本不一致导致的。
2023-04-13T11:42:45
2023-04-13T11:42:45
{}
NONE
vuejs
core
1,508,357,007
8,083
innocenzi
Will this work for global `.d.ts` types? eg. you have some `UserData` interface in a `.d.ts` file somewhere, can you do this now? ```ts defineProps<UserData>() ``` Would be super cool but my understanding is that the improved support is only for specifically imported types?
2023-04-14T11:20:18
2023-04-14T11:20:18
{ "+1": 1 }
NONE
vuejs
core
1,511,182,989
8,101
netlify[bot]
### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed. | Name | Link | |:-:|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | 00cd0d7bbcc37b917c8b1d32b101adf4948b42bf | |<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue...
2023-04-17T11:40:52
2023-04-17T11:40:52
{}
NONE
vuejs
core
1,512,125,271
4,635
scvnc
I also wanted to do this. I figured out a workaround for my use case by having a 'shim' app intercept the equivalent calls a plugin might make. https://gist.github.com/scvnc/5ca1771cbcb199b0aa58b2a7094ecc62 Example successfully registering the PrimeVue plugin in a CE Vue component ```ts <script setup lang="t...
2023-04-17T21:47:39
2023-04-17T21:47:39
{ "+1": 1 }
NONE
vuejs
core
1,514,346,595
7,876
brillout
Makes sense 👍 and thanks for the pointers.
2023-04-19T08:34:56
2023-04-19T08:34:56
{}
NONE
vuejs
core
1,514,454,647
5,089
SimonSimCity
Just want to point out that this problem also (as of my knowledge) is at hand when using the function `mount()` in your tests. An example can be found in https://github.com/auth0/auth0-vue/issues/228 and https://test-utils.vuejs.org/api/#global, where the author of the package defined his key as `InjectionKey<Auth0VueC...
2023-04-19T09:55:08
2023-04-19T10:02:08
{}
NONE
vuejs
core
1,515,762,994
8,117
ricardovanlaarhoven
That looks okay, perhaps this could be documented anywhere. Ik had issues finding anything about it
2023-04-20T06:05:58
2023-04-20T06:05:58
{}
NONE
vuejs
core
1,510,146,598
8,083
laterdayi
Looking forward to it, when will it be available
2023-04-16T07:40:18
2023-04-16T07:40:18
{}
NONE
vuejs
core
1,510,956,041
8,082
chrismooreajbell
Hi @LinusBorg thanks for your reply. I'm glad we understand that this solution is not the best and glad to see another issue in place to resolve.
2023-04-17T08:54:20
2023-04-17T08:54:20
{}
NONE
vuejs
core
1,514,038,544
7,939
wenfangdu
@yyx990803 Evan, can we add console support in the template in v3.3? Here's the [PR](https://github.com/vuejs/core/pull/6508).
2023-04-19T02:17:17
2023-04-19T02:17:17
{}
NONE
vuejs
core
1,515,562,379
8,127
Truevoly
Maybe something like this will work? Sorry, haven't tested this yet, just an idea. `apiCustomElement.ts` ```typescript export class VueElement extends BaseClass { private _loading = false ... private _resolveDef() { if (this._loading) { return } this._loading = true ... ...
2023-04-20T00:58:16
2023-04-20T00:58:16
{}
NONE
vuejs
core
1,515,784,490
8,100
yyx990803
Thanks for the PR - I decided to just always traverse static children in dev in f17a82c7
2023-04-20T06:33:19
2023-04-20T06:33:19
{ "+1": 1 }
MEMBER
vuejs
core
1,507,908,735
4,294
djkloop
> ```ts > interface > ``` test export interface Props extends IProduct{}
2023-04-14T04:29:01
2023-04-14T04:29:01
{}
NONE