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,080,618,435
5,634
posva
Your `useFetch()` is returning a ref, which is not undefined and therefor `data` is filled wiht a ref with undefined which is why nothing is displayed. Change it to anything else like `"hey"` and you will see "hey". --- Remember to use the [forum](http://forum.vuejs.org/) or the [Discord chat](https://vue-land.js...
2022-03-28T12:59:42
2022-03-28T12:59:42
{}
MEMBER
vuejs
core
1,081,418,809
5,638
netlify[bot]
### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready! | Name | Link | |---------------------------------|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | cc5fef155ba3b89189896d6295994b6877471d4d | |<span aria-hidden="true">🔍</span> Latest deploy log | http...
2022-03-29T05:26:46
2022-03-29T05:29:34
{}
NONE
vuejs
core
1,081,440,802
5,639
LinusBorg
Using imported interfaces as a generic argument for defineProps() is not supported yet. See #4294
2022-03-29T06:08:30
2022-03-29T06:08:30
{}
MEMBER
vuejs
core
1,082,521,203
5,613
juan77
Hi, good night! I have the same issue, but is also ignoring when extending more than one interface. ```javascript interface OneProps { ... } interface TwoProps { ... } interface ThreeProps { ... } interface MyProps extends OneProps, TwoProps, ThreeProps {}; ``` My two cents,
2022-03-30T01:23:31
2022-03-30T01:23:31
{}
NONE
vuejs
core
1,085,291,941
3,031
8bitDesigner
Okay, I ran into the same issue, and ended up using the inject method, inside a `setup` function in my Options API component. It's goofy, but it does the trick: ``` vue <template> <h1>{ a! + b! }<h1> <h2>combined: { combined }</h2> </template> <script lang="ts"> import { defineComponent, inject } from 'v...
2022-04-01T01:13:50
2022-04-01T01:15:59
{ "+1": 1 }
NONE
vuejs
core
1,086,285,571
5,655
xiexuan-star
https://github.com/xiexuan-star/issue-demo You can clone it. It is already late at night in my country, so I may not be able to reply to you in time
2022-04-01T20:13:20
2022-04-01T20:13:20
{}
NONE
vuejs
core
1,086,577,685
5,650
kikyous
Hi @posva , element-plus team member @[msidolphin](https://github.com/msidolphin) provide a minimal reproduction (no external libs https://github.com/kikyous/vue-vite-bug-report)
2022-04-02T07:38:32
2022-04-02T07:38:32
{}
NONE
vuejs
core
1,086,627,896
5,650
LinusBorg
#5657
2022-04-02T12:17:32
2022-04-02T12:17:32
{}
MEMBER
vuejs
core
1,087,142,157
5,662
netlify[bot]
### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready! | Name | Link | |---------------------------------|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | e66e4d26afc19696b02be93dae1e8629e3b8a1e9 | |<span aria-hidden="true">🔍</span> Latest deploy log | http...
2022-04-04T05:49:48
2022-04-04T05:51:56
{}
NONE
vuejs
core
1,080,074,736
5,631
zhangxuyang950313
> Can you try manually importing `h` from the correct package? import h is ok. such as "app6" https://stackblitz.com/edit/vitejs-vite-wjqutb?file=src/App.vue
2022-03-28T01:07:23
2022-03-28T01:07:23
{}
NONE
vuejs
core
1,082,511,369
4,457
JackieCheung
> use "@vnodeBeforeUnmount" instead Is there any reference document for this api?
2022-03-30T01:01:34
2022-03-30T01:01:34
{}
NONE
vuejs
core
1,083,002,938
5,646
LinusBorg
Triming means "remove leading and trailing white spaces". It does not mean "remove any whitespace found in this string".
2022-03-30T11:18:16
2022-03-30T11:18:16
{}
MEMBER
vuejs
core
1,083,003,964
5,644
LinusBorg
you should not mess with the DOM that Vue controls.
2022-03-30T11:19:27
2022-03-30T11:19:27
{}
MEMBER
vuejs
core
1,083,633,704
5,652
reuvenpo
RE workaround: Thanks, I didn't consider that! your suggestion almost worked, it should be spelled like this, with a lowercase typename in the `PropType`: ```ts props: { whatever: BigInt as unknown as PropType<bigint> } ``` `any` also works instead of `unknown`
2022-03-30T21:17:11
2022-03-30T21:19:05
{ "+1": 3 }
NONE
vuejs
core
1,086,391,592
3,031
8bitDesigner
That totally makes sense, and I fully admit that I will break this the minute I refactor my code, if I haven't already.
2022-04-01T22:43:31
2022-04-01T22:43:31
{}
NONE
vuejs
core
1,086,588,423
5,655
LinusBorg
you seem to have forgotten to push some changes to that repo? it only has the default project files, no changes related to what you show in the play ground.
2022-04-02T08:28:35
2022-04-02T10:51:59
{}
MEMBER
vuejs
core
1,086,828,062
5,659
LinusBorg
The issue isn't directly related to slots. The issue is that `CustomInput` re-renders when you change the focus, and `props.modelValue` is still empty, because the parent component didn't use v-model on `CustomInput` so with the next re-render, the input is emptied again, to sync it with the (still empty) prop. ...
2022-04-03T10:06:15
2022-04-03T10:33:54
{}
MEMBER
vuejs
core
1,081,135,615
5,218
joezimjs
They wrongly closed #5633 as a duplicate of this, so I'm putting this here so it doesn't just disappear and because it's related enough to be in here anyway. I saw some people on Twitter that noted Vue's general usage of default exports for all components. Some people, and myself to an extent, think that named expor...
2022-03-28T20:56:49
2022-03-28T21:01:04
{ "+1": 2 }
NONE
vuejs
core
1,082,009,197
4,385
weikinhuang
No, I haven't found any workarounds so far.
2022-03-29T15:21:37
2022-03-29T15:21:37
{}
NONE
vuejs
core
1,086,021,778
5,655
xiexuan-star
```javascript // Result of compilation _createElementVNode("div", _hoisted_1, _toDisplayString(_unref(foo).fooProp), 1 /* TEXT */), _createElementVNode("div", _hoisted_2, _toDisplayString(bar.value), 1 /* TEXT */), // I guess both of that should be tagged STATIC or hoisted ```
2022-04-01T15:12:30
2022-04-01T15:12:30
{}
NONE
vuejs
core
1,086,623,055
5,655
xiexuan-star
Thank you for your patience. Now I understand the difference
2022-04-02T11:49:58
2022-04-02T11:49:58
{}
NONE
vuejs
core
1,083,004,193
5,645
LinusBorg
See https://github.com/vuejs/core/issues/5644#issuecomment-1083003964
2022-03-30T11:19:45
2022-03-30T11:19:45
{}
MEMBER
vuejs
core
1,083,024,634
5,646
mr-duke
@LinusBorg Thank you for the quick clarification. Still, in the SFC Playground I posted above, any leading whitespaces I put into the input are trimmed in the `div`, no matter if I use v-model.trim or not. That's what struck me as odd because it doesn't seem to make a difference.
2022-03-30T11:37:34
2022-03-30T11:42:16
{}
NONE
vuejs
core
1,083,483,946
5,650
posva
Your reproduction is not minimal, please read and follow https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro when reporting a bug. Most bugs should be reproducible with the [SFC Playground](https://sfc.vuejs.org).
2022-03-30T18:36:24
2022-03-30T18:36:24
{}
MEMBER
vuejs
core
1,080,550,557
5,602
talkor
Thanks @LinusBorg and @sodatea I thought it was a bug at first, but then realized it was configured in Vue CLI as the default. So this makes it a feature request to the Vite plugin instead of a bug. Having the component name as part of the class name is super helpful for debugging CSS. I guess it will benefit to have...
2022-03-28T11:46:33
2022-03-28T11:46:46
{}
NONE
vuejs
core
1,081,418,807
5,638
netlify[bot]
### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready! | Name | Link | |---------------------------------|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | cc5fef155ba3b89189896d6295994b6877471d4d | |<span aria-hidden="true">🔍</span> Latest deploy log | https://...
2022-03-29T05:26:46
2022-03-29T05:32:00
{}
NONE
vuejs
core
1,069,092,615
5,595
netlify[bot]
### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready! | Name | Link | |---------------------------------|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | 0a53b4fa60d1b8294ef1f5b957a2a360a93e415c | |<span aria-hidden="true">🔍</span> Latest deploy log | https://...
2022-03-16T12:50:24
2022-03-30T07:42:20
{}
NONE
vuejs
core
1,083,483,051
5,648
posva
Your reproduction is not minimal, please read and follow https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro when reporting a bug. Most bugs should be reproducible with the [SFC Playground](https://sfc.vuejs.org).
2022-03-30T18:35:40
2022-03-30T18:35:40
{}
MEMBER
vuejs
core
1,083,666,827
2,855
mrleblanc101
I was adding the workaround for people that have the issue with Suspense as the workaround was not in the thread and there doesn't seem to be a separate issue for that.
2022-03-30T21:57:24
2022-03-30T21:57:24
{}
NONE
vuejs
core
1,083,909,068
5,613
edison1105
Duplicate of #4498 #5539
2022-03-31T01:06:53
2022-03-31T01:06:53
{}
MEMBER
vuejs
core
1,084,258,820
5,184
signernet
I had the same issue,and i fixed it by avoid use undefined properties in element-plus el-popover comonent. my code is below my content attribute has undefined value sometime; <el-popover placement="left" :width="400" trigger="hover" :content="scope.row.user?.branchPaths"> <template #reference> ...
2022-03-31T08:26:35
2022-03-31T08:28:47
{ "+1": 1 }
NONE
vuejs
core
1,086,612,870
5,652
reuvenpo
I think a good short-term solution could be to just add a comment showing the workaround above to this section of the docs: https://vuejs.org/guide/typescript/options-api.html#typing-component-props
2022-04-02T10:45:09
2022-04-02T10:45:09
{}
NONE
vuejs
core
1,086,772,524
5,655
lidlanca
@LinusBorg do you not consider different behavior between dev and prod build a bug?
2022-04-03T04:08:41
2022-04-03T04:08:41
{}
CONTRIBUTOR
vuejs
core
1,079,968,296
4,404
chasegiunta
@gnuletik I've PR'd support for named slots into this branch. As for fallthrough attributes onto single root element components, or for slots without parent elements, I've worked out my own solution wrapping the contents in an element with `display: contents` for now, but I'd suspect that's not the best approach as an ...
2022-03-27T16:47:38
2022-03-27T16:47:38
{ "+1": 1 }
NONE
vuejs
core
1,080,535,498
4,397
xiaoxiangmoe
@fengjrrz This feature was added in volar v0.31.1
2022-03-28T11:29:36
2022-03-28T11:29:36
{}
CONTRIBUTOR
vuejs
core
1,080,701,825
4,397
StazriN
@xiaoxiangmoe Sorry but I don't think so (Volar v0.33.10). I've got still the same error when I use `const myRef = ref<null | InstanceType<typeof MyComponent>>(null);` so I must still use the @eggplantiny workaround to make tsc happy. The same state in #5035, not fixed.
2022-03-28T14:09:31
2022-03-28T14:09:31
{}
NONE
vuejs
core
1,069,092,545
5,595
netlify[bot]
### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready! | Name | Link | |---------------------------------|------------------------| |<span aria-hidden="true">🔨</span> Latest commit | 0a53b4fa60d1b8294ef1f5b957a2a360a93e415c | |<span aria-hidden="true">🔍</span> Latest deploy lo...
2022-03-16T12:50:20
2022-03-30T07:36:41
{}
NONE
vuejs
core
1,086,613,873
5,655
LinusBorg
No I see what you mean. This is in fact a side-effect of the way script setup is compiled for dev. it essentially looks like this: ```js import { ref,shallowRef, defineComponent } from 'vue' export default defineComponent({ setup() { const foo = shallowRef({fooProp:1}) const bar = ref(1); let n...
2022-04-02T10:50:55
2022-04-02T10:52:41
{}
MEMBER
vuejs
core
1,032,294,752
5,367
LinusBorg
> That error does not appear in vue<=3.2.29. This is the code producing the error: I can reproduce that second example with 3.2.25 at least, also 3.2.30 doesn't contain any changes that could be related.
2022-02-08T07:32:46
2022-02-08T07:32:46
{}
MEMBER
vuejs
core
1,033,615,475
5,318
MBuchalik
Thank you for the reply! 👍 If the data structure is something I can control, then this certainly works. But if the data structure is generated by some kind of (external) library, then you have to make the entire data structure non-reactive. Which of course does not really work if you are using this data structure ...
2022-02-09T10:39:00
2022-02-09T10:39:39
{ "+1": 1 }
NONE
vuejs
core
1,033,659,570
5,388
davestewart
Strange that this appeared here. I used the link in the DevTools and it took me to a form. Looking more closely, it appears that the form redirects on load: ``` https://new-issue.vuejs.org/?repo=vuejs/vue-devtools https://new-issue.vuejs.org/?repo=vuejs/core ``` If you can't move this issue, then I can recr...
2022-02-09T11:27:58
2022-02-09T11:29:24
{}
NONE
vuejs
core
1,033,905,492
5,363
LinusBorg
We just have a hard time figuring out a reason as to why detached elements aren't garbage collected.
2022-02-09T15:48:27
2022-02-09T15:48:27
{ "confused": 1 }
MEMBER
vuejs
core
1,034,335,331
5,393
nborko
> ```ts > const emit = defineEmits(['foo']) as Emits > ``` Ah, the above doesn't work either, it results in a runtime error, "ReferenceError: defineEmits is not defined" I can leave it untyped as a workaround, but since in my actual implementation the Emits interface is NOT contained in the SFC file, I need a w...
2022-02-10T00:06:28
2022-02-10T00:17:48
{}
NONE
vuejs
core
1,034,775,043
5,396
bichikim
https://github.com/marketplace/actions/issues-translator We Are The World ❤🌍 https://www.youtube.com/watch?v=mIqhl0rH0Wc
2022-02-10T10:54:28
2022-02-10T10:54:28
{}
NONE
vuejs
core
1,032,855,066
5,378
netlify[bot]
✔️ Deploy Preview for *vue-sfc-playground* ready! 🔨 Explore the source changes: 3d55f46d893562a1b6c66da6dacd25f455918b54 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/6202a3cba98bb00008bd215c](https://app.netlify.com/sites/vue-sfc-playground/deploys/6202a3cba98bb00008bd215c) ...
2022-02-08T17:09:37
2022-02-08T17:12:13
{}
NONE
vuejs
core
1,033,396,089
5,384
netlify[bot]
✔️ Deploy Preview for *vuejs-coverage* ready! 🔨 Explore the source changes: 9b31196340e9331f6ebb7b7a6e3a8557536c754d 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/62035e72c2f78300072382f5](https://app.netlify.com/sites/vuejs-coverage/deploys/62035e72c2f78300072382f5) 😎 Browse th...
2022-02-09T06:25:59
2022-02-09T06:32:01
{}
NONE
vuejs
core
1,033,596,254
5,323
posva
Can you create a reproduction without the router? This will help to move forward. You can use [this playground](https://github.com/vuejs/core/issues/5386) as a starting point
2022-02-09T10:18:11
2022-02-09T10:18:11
{}
MEMBER
vuejs
core
1,033,903,971
5,363
JhonWeawer
@caozhong1996 what exactly confused you ?
2022-02-09T15:47:12
2022-02-09T15:47:12
{}
NONE
vuejs
core
1,034,409,528
5,393
nborko
I hate using GitHub on mobile... Didn't mean to close
2022-02-10T01:59:32
2022-02-10T01:59:32
{}
NONE
vuejs
core
1,034,533,907
5,394
netlify[bot]
✔️ Deploy Preview for *vue-next-template-explorer* ready! 🔨 Explore the source changes: 547d25f1a48426fc20b93e7e2a316c40e14b7650 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/6204bd5d2f13ce0007bb6024](https://app.netlify.com/sites/vue-next-template-explorer/deploys/620...
2022-02-10T06:10:43
2022-02-10T07:23:59
{}
NONE
vuejs
core
1,035,864,009
4,397
xiaoxiangmoe
This feature was added in volar v0.31.1
2022-02-11T04:01:32
2022-02-11T04:01:32
{ "+1": 2 }
CONTRIBUTOR
vuejs
core
1,035,922,822
5,363
caozhong1996
@LinusBorg Now I'm pretty sure it's a bug. We created invoker at here and reference component instance. https://github.com/vuejs/core/blob/c35ec47d73212b1b1fb1abca9004f992c45aa942/packages/runtime-dom/src/modules/events.ts#L107-L132 These elements reference invoker's closure (_vei) https://github.com/vuejs/co...
2022-02-11T06:44:25
2022-02-11T06:44:25
{ "+1": 1, "laugh": 1 }
CONTRIBUTOR
vuejs
core
1,032,333,043
5,372
LinusBorg
Yes.
2022-02-08T08:21:26
2022-02-08T08:21:26
{}
MEMBER
vuejs
core
1,032,370,850
5,363
JhonWeawer
@caozhong1996 memory leak reproducible, I showed an example without vue-devtools(prod build **npm run build**) see **url in second screenshot ends with dist/index.html** , and i reproduce in incognito mode, please check again
2022-02-08T09:04:39
2022-02-08T09:09:51
{}
NONE
vuejs
core
1,032,855,030
5,378
netlify[bot]
✔️ Deploy Preview for *vuejs-coverage* ready! 🔨 Explore the source changes: 3d55f46d893562a1b6c66da6dacd25f455918b54 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/6202a3cbf0d99a0008d3aa6a](https://app.netlify.com/sites/vuejs-coverage/deploys/6202a3cbf0d99a0008d3aa6a) 😎 Browse th...
2022-02-08T17:09:35
2022-02-08T17:16:12
{}
NONE
vuejs
core
1,033,227,645
5,381
netlify[bot]
✔️ Deploy Preview for *vue-next-template-explorer* ready! 🔨 Explore the source changes: ac58c7377da929f0c5f7dc2952298d8f832fa3c4 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/620317cddd389400085b5ee5](https://app.netlify.com/sites/vue-next-template-explorer/deploys/620...
2022-02-09T01:14:09
2022-02-09T01:25:23
{}
NONE
vuejs
core
1,033,361,140
5,383
bichikim
I don't have an idea to test this ... help
2022-02-09T05:17:36
2022-02-09T05:17:51
{}
NONE
vuejs
core
1,033,424,091
5,380
LinusBorg
> `import Vue from 'vue';` should work. No. Vue 3 has no default export. You have to do named imports when using ES module syntax. that's regardless of the build version you are using - that's kind of the point.
2022-02-09T07:17:48
2022-02-09T07:17:48
{}
MEMBER
vuejs
core
1,033,901,853
5,390
LinusBorg
No, this is a breaking change in Vue 3 and that is intentional.
2022-02-09T15:45:20
2022-02-09T15:45:20
{}
MEMBER
vuejs
core
1,034,073,218
5,390
LinusBorg
The reason is "Fragments", pretty much. As we can't guarantee a single root node, replacing the element at mount with several others, whose number also could change over time, could have unintended side-effects in cases where the document in which the app is mounted is controlled by other code, or break styling etc. ...
2022-02-09T18:35:10
2022-02-09T18:35:10
{ "+1": 1 }
MEMBER
vuejs
core
1,034,053,181
5,392
netlify[bot]
✔️ Deploy Preview for *vue-sfc-playground* ready! 🔨 Explore the source changes: d6f5e941f4a5d83d81569cd912499ebc0f7cfd66 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/62040df29b80db00074e1985](https://app.netlify.com/sites/vue-sfc-playground/deploys/62040df29b80db00074e1985) ...
2022-02-09T18:11:37
2022-02-09T19:00:45
{}
NONE
vuejs
core
1,034,533,908
5,394
netlify[bot]
✔️ Deploy Preview for *vuejs-coverage* ready! 🔨 Explore the source changes: 547d25f1a48426fc20b93e7e2a316c40e14b7650 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/6204bd5d5f3f9f000802265d](https://app.netlify.com/sites/vuejs-coverage/deploys/6204bd5d5f3f9f000802265d) 😎 Browse th...
2022-02-10T06:10:43
2022-02-10T07:29:07
{}
NONE
vuejs
core
1,035,931,741
5,363
LinusBorg
the invoker closure doesn't reference the element, it only references the instance. the MDN statement you quoted refers to things that are still active on the main thread (Whatever the correct term may be) having a reference on the removed element, which is not the case here?
2022-02-11T07:05:55
2022-02-11T07:31:13
{}
MEMBER
vuejs
core
1,035,955,052
5,402
LinusBorg
> I believe old versions of Vue used to have an option like this somewhere Nope. And I don't think we want to offer one now. The use case for this seems to tiny I don't think we should put that on our list of things to maintain.
2022-02-11T07:52:33
2022-02-11T07:52:33
{}
MEMBER
vuejs
core
1,032,855,067
5,378
netlify[bot]
✔️ Deploy Preview for *vue-next-template-explorer* ready! 🔨 Explore the source changes: 3d55f46d893562a1b6c66da6dacd25f455918b54 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/6202a3cb77f1480007536f2d](https://app.netlify.com/sites/vue-next-template-explorer/deploys/620...
2022-02-08T17:09:37
2022-02-08T17:10:32
{}
NONE
vuejs
core
1,033,216,691
4,314
gnuletik
> Is there a .js version of this? @gnuletik I don't think so. However, you can easily transpile it: ```bash mkdir /tmp/vue && cd /tmp/vue curl https://raw.githubusercontent.com/vuejs/core/4b3aed23e687c9d77d4fdcac537be15443a9a608/packages/runtime-dom/src/apiCustomElement.ts > apiCustomElement.ts yarn add types...
2022-02-09T00:56:26
2022-02-09T00:56:26
{ "-1": 1 }
NONE
vuejs
core
1,033,612,447
5,387
netlify[bot]
✔️ Deploy Preview for *vue-sfc-playground* ready! 🔨 Explore the source changes: 119557a0294f872ed9b15d13388e7ac23565b791 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/620398f447206d000810f657](https://app.netlify.com/sites/vue-sfc-playground/deploys/620398f447206d000810f657) ...
2022-02-09T10:35:42
2022-02-09T10:39:06
{}
NONE
vuejs
core
1,035,936,100
5,404
netlify[bot]
✔️ Deploy Preview for *vue-sfc-playground* ready! 🔨 Explore the source changes: 41be51be55748ae80ce4ae83bebd01a3d3cfc2ad 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/62060d2433acca00080fdcd8](https://app.netlify.com/sites/vue-sfc-playground/deploys/62060d2433acca00080fdcd8) ...
2022-02-11T07:15:52
2022-02-11T07:18:09
{}
NONE
vuejs
core
1,032,446,947
4,294
nagman
I solved it by simply passing types as a sub-object: **~/composables/useHomePage.ts** ```ts export function useHomePage() { // fetches content from API with useStatic // returns a Ref<{ // seo: { title: string, description: string }, // introHero: { title: string, text: string, ... } // ... ...
2022-02-08T10:23:17
2022-02-08T10:23:17
{}
NONE
vuejs
core
1,033,187,644
5,379
lidlanca
```html <component :is="tag" v-for="tag in tags" :^text="tag" :innerText="tag" /> ```
2022-02-09T00:09:12
2022-02-09T00:09:12
{}
CONTRIBUTOR
vuejs
core
1,033,432,046
5,375
LinusBorg
I'd say in this specific example, the package should not force you to register the directive globally and offer local import as well. I'll close this as we have a more general issue tracking something similar in #4635
2022-02-09T07:30:40
2022-02-09T07:30:40
{ "+1": 1 }
MEMBER
vuejs
core
1,035,897,774
1,172
mariusa
Interesting. Where is `:set` documented? Can't find it at https://vuejs.org/api/built-in-directives.html Please add it to https://github.com/vuejs/rfcs/issues/73
2022-02-11T05:36:44
2022-02-11T05:36:44
{}
NONE
vuejs
core
1,033,197,365
5,379
kreha1
It doesn't play nice with typescript and I kind of need to use `text` attribute name. I'm using windicss / unocss and those have this thing called attributify mode, that lets you group tailwind classes under one attribute (`text | bg | border | font` etc). It can be set up, so those attributes have some prefix, and I...
2022-02-09T00:25:31
2022-02-09T00:25:31
{}
NONE
vuejs
core
1,034,407,953
5,393
nborko
> you should use type declaration > > ```js > const emit = defineEmits<Emits>() > ``` Ideally, but > in My actual implementation the Emits interface is NOT contained in the SFC file
2022-02-10T01:57:23
2022-02-10T02:00:47
{}
NONE
vuejs
core
1,035,859,758
4,397
leonsilicon
I've been using this workaround: MyComponent.vue ```vue <script setup lang="ts"> function printHello() { console.log("Hello from MyComponent!"); } defineExpose({ printHello, }); </script> <template> <div /> </template> ``` App.vue ```vue <script setup lang="ts"> import { ref, onMounted } fro...
2022-02-11T03:50:02
2022-02-11T03:51:30
{}
CONTRIBUTOR
vuejs
core
1,032,323,259
5,372
wangfpp
@LinusBorg Do you mean it is caused by webpack or vite compilation?
2022-02-08T08:10:07
2022-02-08T08:10:07
{}
NONE
vuejs
core
1,032,450,335
5,363
JhonWeawer
@caozhong1996 Thanks for the research, and what to do about it? Also i made an issue with the same problem on vue 2 please answer it too(bug also reproduce **after prod build npm run build for vue 2** have detached nodes, check pls) **link for the same issue memory leak for vue 2** - > https://github.com/vuejs/vue/iss...
2022-02-08T10:26:56
2022-02-08T10:32:21
{}
NONE
vuejs
core
1,033,227,682
5,381
netlify[bot]
✔️ Deploy Preview for *vuejs-coverage* ready! 🔨 Explore the source changes: ac58c7377da929f0c5f7dc2952298d8f832fa3c4 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/620317cdd307bf0007c1480b](https://app.netlify.com/sites/vuejs-coverage/deploys/620317cdd307bf0007c1480b) 😎 Browse th...
2022-02-09T01:14:13
2022-02-09T01:30:27
{}
NONE
vuejs
core
1,033,600,060
5,317
posva
Your reproduction is not minimal, please read and follow https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro when reporting a bug. Most bugs should be reproducible with the [SFC Playground](https://sfc.vuejs.org).
2022-02-09T10:22:19
2022-02-09T10:22:19
{}
MEMBER
vuejs
core
1,035,489,216
5,398
LinusBorg
That library does r support Vue 3 as far as I can tell
2022-02-10T20:41:20
2022-02-10T20:41:20
{}
MEMBER
vuejs
core
1,032,304,859
5,367
LinusBorg
related, I think: https://github.com/vuejs/core/pull/4807
2022-02-08T07:47:17
2022-02-08T08:01:12
{}
MEMBER
vuejs
core
1,032,841,060
5,377
netlify[bot]
✔️ Deploy Preview for *vue-next-template-explorer* ready! 🔨 Explore the source changes: ba95eeee1d36dff476e958bb4d4d02c94bd624ec 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/6202a0858514ab0007ac3061](https://app.netlify.com/sites/vue-next-template-explorer/deploys/620...
2022-02-08T16:55:38
2022-02-08T16:56:21
{}
NONE
vuejs
core
1,034,585,502
5,395
ygj6
No problem is found using the [official template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-vue-ts). :lying_face:
2022-02-10T07:37:52
2022-02-10T07:37:52
{}
MEMBER
vuejs
core
1,034,745,625
5,396
shkim
@ygj6 Definitely agree. And I hope that you will be able to repeat again to users who wrote an issue solely in Chinese, in the future 🤣
2022-02-10T10:24:48
2022-02-10T10:24:48
{ "-1": 1 }
NONE
vuejs
core
1,032,352,396
5,363
LinusBorg
@Akryum Do you agree with @caozhong1996? Should we move this issue to the devtools repo?
2022-02-08T08:42:22
2022-02-08T08:42:22
{ "eyes": 2 }
MEMBER
vuejs
core
1,032,841,079
5,377
netlify[bot]
❌ Deploy Preview for *vuejs-coverage* failed. 🔨 Explore the source changes: ba95eeee1d36dff476e958bb4d4d02c94bd624ec 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/6202a0856995d2000875fd2b](https://app.netlify.com/sites/vuejs-coverage/deploys/6202a0856995d2000875fd2b)
2022-02-08T16:55:39
2022-02-08T16:59:22
{}
NONE
vuejs
core
1,033,192,120
4,314
Daniel-Vernon-55
Is there a .js version of this? @gnuletik
2022-02-09T00:16:27
2022-02-09T00:16:27
{}
NONE
vuejs
core
1,033,396,100
5,384
netlify[bot]
✔️ Deploy Preview for *vue-sfc-playground* ready! 🔨 Explore the source changes: 9b31196340e9331f6ebb7b7a6e3a8557536c754d 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/62035e720667220008170535](https://app.netlify.com/sites/vue-sfc-playground/deploys/62035e720667220008170535) ...
2022-02-09T06:26:00
2022-02-09T06:29:49
{}
NONE
vuejs
core
1,033,734,881
5,388
LinusBorg
fir some reason github won't let me transfer it either, please re-open there. We'll debug that issue-helper problem
2022-02-09T12:59:10
2022-02-09T12:59:10
{ "+1": 1 }
MEMBER
vuejs
core
1,033,876,805
5,363
caozhong1996
I'm just as confused by this as you, even in this situation which still appeared😥 ```html <!-- no event binding --> <div v-for="item in 1000" v-bind:key="item"> <div>111<div/> </div> ```
2022-02-09T15:22:32
2022-02-09T15:22:32
{ "eyes": 1 }
CONTRIBUTOR
vuejs
core
1,034,685,114
5,396
ygj6
영어를 사용하는 것이 가장 좋습니다 —— Google 번역 :stuck_out_tongue:
2022-02-10T09:25:11
2022-02-10T09:25:11
{}
MEMBER
vuejs
core
1,035,843,504
1,600
duydb
> For those using vue-cli, the correct syntax for vue.config.js is as follows: > > ```js > chainWebpack: config => { > config.module > .rule('vue') > .use('vue-loader') > .tap(options => { > // https://github.com/vuejs/vue-next/pull/1600 > ...
2022-02-11T03:12:51
2022-02-11T03:12:51
{ "rocket": 1 }
NONE
vuejs
core
1,032,598,262
4,817
semirbabajic
Was anyone able to find a solution for this? Have the same problem using Quasar 2.5.4 @tcstory
2022-02-08T13:16:44
2022-02-08T13:16:44
{}
NONE
vuejs
core
1,033,089,082
5,371
lidlanca
[workaround](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbiAgaW1wb3J0IHsgdHJpZ2dlclJlZiwgcmVmLHJlYWN0aXZlLCBzaGFsbG93UmVmLCB3YXRjaCB9IGZyb20gJ3Z1ZSdcblxuICBjb25zdCBtc2cgPSByZWYoJ0hlbGxvIFdvcmxkIScpXG4gIGNvbnN0IGFyciA9IHNoYWxsb3dSZWYoW10pXG4gIHdhdGNoKGFyciwgKCk9PiB7XG4gICAgY29uc29sZS5sb2coJ3dhdGNoIGFyciA6...
2022-02-08T21:41:27
2022-02-08T21:41:27
{ "+1": 1 }
CONTRIBUTOR
vuejs
core
1,034,674,563
5,395
ygj6
> > No problem is found using the [official template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-vue-ts). 🤥 > > 我也是用vite create创建的项目 You can provide a replica using github or gitee. :smile:
2022-02-10T09:14:40
2022-02-10T09:14:40
{ "laugh": 1 }
MEMBER
vuejs
core
1,035,939,776
1,172
dima-hx
> Interesting. Where is `:set` documented? Can't find it at https://vuejs.org/api/built-in-directives.html Please add it to [vuejs/rfcs#73](https://github.com/vuejs/rfcs/issues/73) It's not an 'undocumented' feature. Vue will evaluate the JavaScript of any bound attributes and I just chose to invent an attribute ca...
2022-02-11T07:23:41
2022-02-11T07:23:41
{}
NONE
vuejs
core
1,033,227,649
5,381
netlify[bot]
✔️ Deploy Preview for *vue-sfc-playground* ready! 🔨 Explore the source changes: ac58c7377da929f0c5f7dc2952298d8f832fa3c4 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/620317cd2682710008992386](https://app.netlify.com/sites/vue-sfc-playground/deploys/620317cd2682710008992386) ...
2022-02-09T01:14:10
2022-02-09T01:27:07
{}
NONE
vuejs
core
1,033,612,396
5,387
netlify[bot]
✔️ Deploy Preview for *vue-next-template-explorer* ready! 🔨 Explore the source changes: 119557a0294f872ed9b15d13388e7ac23565b791 🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/620398f476208d00075a6e80](https://app.netlify.com/sites/vue-next-template-explorer/deploys/620...
2022-02-09T10:35:38
2022-02-09T10:36:33
{}
NONE
vuejs
core
1,033,899,196
5,391
LinusBorg
That would have to be solved in vue-tsc (Volar). You can open an issue here: https://github.com/johnsoncodehk/volar/issues
2022-02-09T15:42:53
2022-02-09T15:42:53
{}
MEMBER
vuejs
core
1,034,070,862
5,392
espresso
Merged wrong branch. Will re-submit.
2022-02-09T18:32:26
2022-02-09T18:32:26
{}
NONE