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,094,187,392 | 3,102 | ccqgithub | The solutions above seems all not work with `scopedSlot props` (intellisense scopedSlots types by props types)?
I found out that now volar can support generics for `functional component`, is it possible to use `functional component` to do this?
```ts
const Component = <T>(props: Props<T>, context: SetupContext) ... | 2022-04-10T06:01:04 | 2022-05-08T04:17:39 | {
"+1": 3,
"heart": 1
} | NONE |
vuejs | core | 1,120,877,361 | 5,878 | xiziliang | It's in the official documentation | 2022-05-09T09:38:35 | 2022-05-09T09:38:35 | {} | NONE |
vuejs | core | 1,121,774,138 | 3,309 | yyx990803 | Closing as stale | 2022-05-10T01:38:33 | 2022-05-10T01:38:33 | {} | MEMBER |
vuejs | core | 1,118,415,876 | 3,930 | javaLuo | 我也遇到了这个问题,根据以上你们讨论的方法...并没有解决!
我开发了一个组件发布到npm
用vite创建的vue项目,使用一切正常
用vue-cli (webpack)创建的项目,就一直报楼主的错误,ref拿不到,onMounted应该包含在setup中。
我已搞得心力交瘁 | 2022-05-05T10:51:37 | 2022-05-05T10:51:37 | {} | NONE |
vuejs | core | 1,118,446,966 | 5,863 | posva | This is intended behavior. Maybe you should submit a PR with your proposal to vuejs/docs | 2022-05-05T11:33:38 | 2022-05-05T11:33:38 | {} | MEMBER |
vuejs | core | 1,118,526,891 | 3,930 | qmhc | @javaLuo 这或许是一个新的问题,你可以尝试提交一个新的 issue | 2022-05-05T13:07:43 | 2022-05-05T13:07:43 | {} | NONE |
vuejs | core | 1,119,389,844 | 5,851 | yyx990803 | Sorry but this is not something that Vue will support. Loading a 200kb file + interpreting python at runtime comes with **huge** performance overhead and you probably don't want to actually use it in anything but toy / personal projects.
The cost of supporting it requires the Vue compiler to be able to analyze pytho... | 2022-05-06T08:41:54 | 2022-05-06T08:41:54 | {
"+1": 6
} | MEMBER |
vuejs | core | 1,120,585,757 | 5,880 | hchlq | > This is by design:
>
> https://github.com/vuejs/core/blob/0683a022ec83694e29636f64aaf3c04012e9a7f0/packages/shared/src/globalsWhitelist.ts#L3-L6
@Justineo I get it, is there any plan to support it in the future. | 2022-05-09T03:00:22 | 2022-05-09T03:00:22 | {} | CONTRIBUTOR |
vuejs | core | 1,121,774,068 | 3,480 | yyx990803 | Closing as stale | 2022-05-10T01:38:22 | 2022-05-10T01:38:22 | {} | MEMBER |
vuejs | core | 1,119,424,345 | 5,865 | yyx990803 | Could this lead to type issues for the expected props types in components? Maybe it's safer to put this in a minor. | 2022-05-06T09:25:07 | 2022-05-06T09:25:07 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,119,622,416 | 5,184 | 4KDA | is there a good solution?
You have to use the method [woai3c](https://github.com/woai3c) | 2022-05-06T13:27:17 | 2022-05-06T13:27:17 | {} | NONE |
vuejs | core | 1,120,106,384 | 5,218 | lvminjie5201314 | I think a script tag with name= "XXX" is the best implementation | 2022-05-07T01:44:35 | 2022-05-07T01:44:35 | {
"+1": 1
} | NONE |
vuejs | core | 1,120,762,315 | 5,881 | LinusBorg | duplicate: #5882 | 2022-05-09T07:50:23 | 2022-05-09T07:50:23 | {} | MEMBER |
vuejs | core | 1,118,805,734 | 5,866 | LinusBorg | it's a plain object, so refs are not unwrapped in the template. so you don't print its value, you print the ref object.
When printing ref objects like you do, its value runs through `JSON.stringify` so that this generates proper JSON:
```
{{ vm }}
```
prints:
```
{ "testComputedAdvanced": "test content adva... | 2022-05-05T16:43:26 | 2022-05-05T16:43:26 | {} | MEMBER |
vuejs | core | 1,119,485,370 | 5,872 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 853b7df5cc409e5db2badb38f9e3f671f5b72e85 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-05-06T10:44:16 | 2022-05-06T10:46:36 | {} | NONE |
vuejs | core | 1,117,936,136 | 4,662 | soultice | There's another workaround:
1. rename all components to `*.ce.vue` or enable `{ customElement: true }` in your config so all components styles are exported like [described](https://github.com/vitejs/vite/tree/main/packages/plugin-vue#using-vue-sfcs-as-custom-elements)
2. in your main.ts import all components you ar... | 2022-05-04T21:03:35 | 2022-05-06T15:06:32 | {
"+1": 7
} | NONE |
vuejs | core | 1,120,140,895 | 5,165 | Math-chen | @yyx990803 This problem has existed for a long time. there is a complete test case in ```hmr.spec.ts```,at present, the latest version of Vue test cannot pass, although it is a small bug,but it is really annoying in development. please pay some attention to it, Thank you | 2022-05-07T05:50:40 | 2022-05-07T05:50:40 | {
"+1": 3,
"heart": 1
} | NONE |
vuejs | core | 1,120,148,190 | 5,165 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 7f3a64e0e50ec9887742c69db6b0a3daad8ffd80 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-05-07T06:47:05 | 2022-05-07T06:51:57 | {} | NONE |
vuejs | core | 1,120,148,954 | 3,930 | cadiron | 这个问题折腾我半天,果然就是vue版本冲突导致的,如果设置上述属性仍然报错的话,建议手动将link目录下生成对应包的node-modules目录删掉。之后就没问题了 | 2022-05-07T06:52:26 | 2022-05-07T06:52:26 | {} | NONE |
vuejs | core | 1,120,360,820 | 5,875 | liulinboyi | [fix the example 1](https://deploy-preview-5879--vue-sfc-playground.netlify.app/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiwgb25Nb3VudGVkIH0gZnJvbSAndnVlJ1xuXG5jb25zdCBsZXZlbCA9IHJlZig1MClcblxub25Nb3VudGVkKCgpID0+IHtcbiAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgbGV2ZWwudmFsdWUgPSAwO1xuICAgIH0sIDUwMDApO1xuXG5... | 2022-05-08T06:42:57 | 2022-05-08T06:42:57 | {} | MEMBER |
vuejs | core | 1,118,460,480 | 5,864 | telion2 | It has a wierd workaround, that I found seconds before giving up:
```html
<Sidebar v-model:visible="showMobile" position="top">
<div id="mobileTarget"></div>
</Sidebar>
<teleport
v-if="ready"
to="#mobileTarget"
:disabled="disableTeleport"
>
....
@focus="swit... | 2022-05-05T11:52:13 | 2022-05-05T11:52:13 | {} | NONE |
vuejs | core | 1,118,672,709 | 5,865 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | c01a813111c3fad299bc00995759bf98103de5b9 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-05-05T15:08:31 | 2022-05-05T15:09:27 | {} | NONE |
vuejs | core | 1,118,672,720 | 5,865 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | c01a813111c3fad299bc00995759bf98103de5b9 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-05-05T15:08:31 | 2022-05-05T15:11:06 | {} | NONE |
vuejs | core | 1,119,299,103 | 5,868 | LinusBorg | This is pretty certainly a problem with vite, maybe more specifically its vue plugin (also maintained in the vite repo).
Noteworthy to mention when moving you issue there:
* the issue, in its reported form, happens because you added the path to `rollupOptions.external`
* however when you don't do that, *and* the... | 2022-05-06T06:28:18 | 2022-05-06T06:31:04 | {} | MEMBER |
vuejs | core | 1,119,393,321 | 5,867 | yyx990803 | For this specific case the error behavior is indeed inconsistent. It should also error in dev. | 2022-05-06T08:46:23 | 2022-05-06T08:46:23 | {} | MEMBER |
vuejs | core | 1,119,401,848 | 3,791 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 40ae22263985a2550fc0c1c4694e74267890c699 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-05-06T08:57:30 | 2022-05-06T09:08:04 | {} | NONE |
vuejs | core | 1,036,323,760 | 5,408 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 05cea29383289e52dcc1e1185d760747808f5861 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-02-11T15:19:11 | 2022-05-06T09:08:06 | {} | NONE |
vuejs | core | 1,120,394,798 | 5,878 | admin00001 | > That's not supported. `defineProps` and `defineEmits()` are compiler hints that can only be processed within a script setup block.
>
> you need to return the plain objects from your function (or export them separately) and then pass them to `defineProps()` and `defineEmits()` in the consuming component.
I think... | 2022-05-08T10:48:33 | 2022-05-08T10:49:23 | {} | NONE |
vuejs | core | 1,121,737,225 | 4,997 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | b8ac0109885451a9d9f43c5e1309691e8f7c7d5f |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-05-10T00:48:14 | 2022-05-10T01:05:36 | {} | NONE |
vuejs | core | 1,118,339,219 | 5,540 | m-ghaoui | I too have this problem but I got to say that it's not consistent. Some components work and other don't. I can't put a finger on a reason why. They all use `defineExpose` normally.
It seems to affect components that are conditionally rendered via a `v-if` but the stackblitz example does not do this, so I have no clu... | 2022-05-05T09:14:05 | 2022-05-05T09:14:05 | {
"+1": 4
} | NONE |
vuejs | core | 1,118,449,566 | 5,858 | posva | Maybe vee-validate could expose a composable version of the slot-one you are using so you can do:
```ts
const modelValue = computed({
get: () => val.value, // or props.value, depends where it comes from
set: handleChange,
})
```
---
Remember to use the [forum](http://forum.vuejs.org/) or the [Discor... | 2022-05-05T11:36:45 | 2022-05-05T11:37:38 | {} | MEMBER |
vuejs | core | 1,118,672,691 | 5,865 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | c01a813111c3fad299bc00995759bf98103de5b9 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-05-05T15:08:30 | 2022-05-05T15:14:29 | {} | NONE |
vuejs | core | 1,118,934,533 | 5,863 | beruic | @posva Then I would need to know the intended behavior for all the types. | 2022-05-05T18:50:46 | 2022-05-05T18:50:46 | {} | NONE |
vuejs | core | 1,119,286,379 | 5,869 | WormGirl | Please close this problem, Thanks. | 2022-05-06T06:04:02 | 2022-05-06T06:04:02 | {} | NONE |
vuejs | core | 1,037,263,022 | 5,416 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e9042e011db5c5cfd6e17985fc31b6e30bffaecb |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-02-12T15:45:02 | 2022-05-06T09:18:08 | {} | NONE |
vuejs | core | 1,119,504,837 | 5,851 | onekiloparsec | Thanks @yyx990803 for your useful comment! Indeed Vue core may not be the place where to consider this integration. I will continue to investigate following the link you provide.
P.S. As you certainly know, personal projets can go a long way... | 2022-05-06T11:11:46 | 2022-05-06T11:13:36 | {
"+1": 2
} | NONE |
vuejs | core | 1,120,353,715 | 5,863 | liulinboyi | > This is annoying default for `boolean`, while other type e.g `string` return `undefined` by default. only boolean return `false`?
According to [this unit test](https://github.com/vuejs/core/blob/4a3237ad9300693e465f82a6be3552565a1c4be3/packages/runtime-core/__tests__/componentProps.spec.ts#L157), Yes.
.
If such a change is to be made, a broader discussion should be obtained in the community.Or modify rfc: https://github.com/vuejs/rfcs | 2022-11-01T07:30:46 | 2022-11-01T07:30:46 | {} | NONE |
vuejs | core | 1,298,136,825 | 6,992 | sxzz | As [RFC](https://github.com/vuejs/rfcs/blob/ref-sugar-2/active-rfcs/0000-ref-sugar.md#:~:text=%24()%20can%20only%20be%20used%20with%20let%20because%20it%20would%20be%20pointless%20to%20declare%20a%20constant%20ref.) mentioned
> $() can only be used with let because it would be pointless to declare a constant ref. | 2022-11-01T07:35:50 | 2022-11-01T07:35:50 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,298,307,070 | 6,895 | LinusBorg | We will release a new version, sure. But we necessarily don't do so after every merged PR - often we have some accumulate and release them together in a patch release.
You can expect a release in the next couple of days I think | 2022-11-01T10:12:03 | 2022-11-01T10:12:03 | {
"heart": 1
} | MEMBER |
vuejs | core | 1,298,825,328 | 6,816 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 8123c376389134d79dfcf31f85a5702de980f563 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-01T16:52:01 | 2022-11-01T16:52:01 | {} | NONE |
vuejs | core | 1,291,650,836 | 3,258 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | a32f7f7a990b36ba3bd8fef35333e30bc104cd32 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-10-26T08:04:19 | 2022-10-26T08:04:19 | {} | NONE |
vuejs | core | 1,293,208,961 | 6,966 | tuchg | > could you give me a example in playground?
[here](http://localhost:5173/#__DEV__eNqdVEuPmzAQ/isulxCJhzZVVQkl2662e+ytvXFYCpNA19jINqRRlP/e8QMw22yVVooiZjzfN+85Bw9dlww9BFmwlaVoOkUkqL67z1nTdlwociYC9hGpYN8weOyl4u0ThRaYikgdkZK3Xa+gIheyF7wlKyRbTeBHfHX6JNWC9rV8fmBc1SAWVk7njAnJWcmZRPsnQ7i7Fk2on9ZLy5H7bYCzQFzOjg2r+DEpfSOZWGS... | 2022-10-27T08:57:47 | 2022-10-27T08:59:17 | {} | NONE |
vuejs | core | 1,293,960,833 | 6,830 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 01e949fcbaeb176d58d40fa71f7242763a39b6a9 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-10-27T19:19:13 | 2022-10-27T19:19:13 | {} | NONE |
vuejs | core | 1,294,254,718 | 6,976 | yyx990803 | Hi @signalwerk, could you please send your request via email (with the logo you want to use attached) to sponsor@vuejs.org? Thank you! | 2022-10-28T00:13:51 | 2022-10-28T00:13:51 | {} | MEMBER |
vuejs | core | 1,294,553,904 | 4,294 | Miofly | > @Miofly Please new an issue in [Vue Macros repo](https://github.com/sxzz/unplugin-vue-macros) with the minimum reproduction repo. By the way, defining default value by reactivity transform is not supported yet.
i use reactivity transform, this is what causes it | 2022-10-28T07:07:23 | 2022-10-28T07:07:23 | {} | NONE |
vuejs | core | 1,296,062,963 | 6,532 | fabon-f | There are one more problem: Type definitions of native elements.
For example, this simple component from Nuxt Content has type error with `exactOptionalPropertyTypes` option, because in this component `width` can be undefined while native `img`'s `width` prop has optional non-undefined `Numberish` type. (under this ... | 2022-10-30T02:04:16 | 2022-10-30T02:04:16 | {} | NONE |
vuejs | core | 1,298,292,106 | 7,002 | tomosterlund | Thank you for your quick answer.
https://github.com/vuejs/core/issues/4733#issuecomment-1024816095 seems like the most elegant solution to me, but I couldn't understand from the thread, if this is a feature that is wanted in the library, or rather not? As others mentioned in that thread, that's a fair bit of insider... | 2022-11-01T09:58:14 | 2022-11-01T09:58:14 | {} | NONE |
vuejs | core | 1,292,277,181 | 6,964 | ysy945 | I recommend write like this。In fact,component receive `msg` is type of `Object`
https://sfc.vuejs.org/#eNqFUctuwjAQ/JWVL1CJ2KLtyQqIqlLVW/sBvkBYIDR+yN5QVSj/3k1CI5pK9ObdGc/YM2fxFII81Si0yFMRy0CQkOqwNK60wUeCc8RdA7voLRjBTCMG6Nnb0CMTqdqhVZoYV3iXCF68hwXw7amrq+rOuFz1DqzNA6EN1ZqQJ4C8k9I27RdG8EUjlnmnyGiuBqqYid46s+sgj8k7fve5FTA... | 2022-10-26T16:06:53 | 2022-10-26T16:09:52 | {} | CONTRIBUTOR |
vuejs | core | 1,293,204,212 | 6,966 | ysy945 | could you give me a example in playground? | 2022-10-27T08:53:33 | 2022-10-27T08:53:33 | {} | CONTRIBUTOR |
vuejs | core | 1,295,801,770 | 6,978 | hoi-lau | in this situation, i think we should unmount preVNode, see https://github.com/vuejs/core/pull/6988/files | 2022-10-29T10:53:06 | 2022-10-29T10:53:06 | {
"+1": 1
} | NONE |
vuejs | core | 1,293,710,778 | 4,294 | sxzz | Implemented in [Vue Macros](https://vue-macros.sxzz.moe/features/better-define.html).
It's an experimental feature. Use at your risk. All feedback is welcome. Feel free to new an issue if there are a bug and edge cases.
Here is the [demo](https://github.com/sxzz/unplugin-vue-macros/blob/d88fe674258c2d9d418d5b2e56... | 2022-10-27T15:31:26 | 2022-10-30T05:50:25 | {
"eyes": 5,
"heart": 7,
"hooray": 13
} | MEMBER |
vuejs | core | 1,298,273,512 | 7,002 | edison1105 | see #4733 | 2022-11-01T09:39:21 | 2022-11-01T09:39:21 | {} | MEMBER |
vuejs | core | 1,298,593,258 | 6,978 | oceangravity | I'm seeing others issues related. If you remove the comment, next remove the empty element inside list, the element keep present in the list and when you undo the change, the element now is duplicated.
[reproduction](https://stackblitz.com/edit/vitejs-vite-2ujcbr?file=src%2FApp.vue%3AL3) | 2022-11-01T14:28:37 | 2022-11-01T14:46:21 | {} | NONE |
vuejs | core | 1,290,915,397 | 6,093 | mmis1000 | Is there anyone also encountered this issue? The issue and pull request is opened for several months and without comment at all.
This bug breaks my style so I need to patch it locally. But I would like this to be fixed in vue itself instead of lying in my project patchset forever. | 2022-10-25T17:38:51 | 2022-10-25T18:26:24 | {} | CONTRIBUTOR |
vuejs | core | 1,291,667,384 | 3,326 | yyx990803 | Sorry for letting this hang for so long - somehow GitHub seems to fail to recognize updates in your branch even after I resolved the conflicts, so I had to manually land the changes in 09bb3e99. Thanks again! | 2022-10-26T08:19:19 | 2022-10-26T08:19:19 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,293,254,995 | 6,969 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 8f1fc7db757a912e4abf1efafde98404ed92e7fd |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-10-27T09:34:54 | 2022-10-27T12:17:51 | {} | NONE |
vuejs | core | 1,293,689,731 | 6,966 | ysy945 | I know your means. I think maybe that author didn't think about this situation that use customElement in KeepAlive. | 2022-10-27T15:15:51 | 2022-10-27T15:15:51 | {} | CONTRIBUTOR |
vuejs | core | 1,295,328,320 | 5,584 | davidoskay | Found another solution:
Change:
`v-model="variable" `
to
`:modelValue="variable" @update:modelValue="variable = $event"`
It should be the same but it's not... why?
| 2022-10-28T18:34:07 | 2022-10-28T18:34:07 | {} | NONE |
vuejs | core | 1,296,125,673 | 4,397 | DoubleLazyZ | > > @fengjrrz This feature was added in volar v0.31.1
>
> Same problem with IntelliJ IDEA 2021.3.3 and vue-tsc 0.33.9
Same problem with IDEA 2022.2.1 and vue-tsc 1.0.8
| 2022-10-30T06:02:16 | 2022-10-30T06:03:08 | {
"+1": 3
} | NONE |
vuejs | core | 1,296,849,507 | 2,116 | WORMSS | This may be a problem between how the data within the array.
There are times when we want the watcher to be triggered when a new item is added to the array so we are now required to use `{ deep: true }`,
but we are holding arbitrary information on objects within that array, and DO NOT want to trigger the watcher when... | 2022-10-31T09:52:44 | 2022-10-31T09:52:44 | {} | NONE |
vuejs | core | 1,298,081,940 | 6,999 | sxzz | Cannot reproduce.
[Reproduction](https://sfc.vuejs.org/#eNo9j0FuxDAIRa9isW7sfZSZqvdgk2ZI61GNkSHTReS7F0+rbhAf/n+CE95E4uMgmGHRrWWxoGSHXJG3ymphrzVcwsE32jPTDXlJvz53uDAq8rUauQphUVk5PKa8XxA8+Bq9IFzPc2CeKvTuALd5YEn/aXiBXKQ2m8oq8a6V/aBzMPFvoQhzeE7GzC8eGuHTTHROSfdtvHHXWNtH8i62gy0XiqRlem/1W6k5GGEgOnKH/gP4dlgn)
Please provide... | 2022-11-01T06:24:20 | 2022-11-01T06:24:20 | {} | MEMBER |
vuejs | core | 1,298,237,911 | 6,895 | AngryChocobo | > Please don't close it, it's still so a bug 😅
I found this bug had been resolved and merged into master. I am a inexperienced programmer. I want to ask when vue will release a new version after pr is merged? I know it is not a important bug. Just want to learn the vue's release plan. | 2022-11-01T09:03:19 | 2022-11-01T09:03:19 | {} | NONE |
vuejs | core | 1,291,906,959 | 5,844 | richgcook | It's causing a lot of issues and having to rely on a timeout, which is irregular, is too costly. | 2022-10-26T11:44:02 | 2022-10-26T11:44:02 | {
"+1": 21
} | NONE |
vuejs | core | 1,293,303,609 | 6,926 | edison1105 | We do not inject `useCssVars` in SSR mode. <s>This seems related to `vue-loader`.
The `inlineTemplate` is always `false` passed from `vue-loader` in DEV mode.</s>
https://github.com/vuejs/core/blob/830454ae56a3935538b22a871a0ce9cab3b1d1e5/packages/compiler-sfc/src/compileScript.ts#L1381-L1393 | 2022-10-27T10:14:19 | 2022-10-28T00:50:36 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,294,284,253 | 4,294 | Miofly | > Implemented in [Vue Macros](https://vue-macros.sxzz.moe/).
>
> It's an experimental feature. Use at your risk. All feedback is welcome. Feel free to new an issue if there are a bug and edge cases.
>
> Here is the [demo](https://github.com/sxzz/unplugin-vue-macros/blob/d88fe674258c2d9d418d5b2e56aea6f70a199776/pl... | 2022-10-28T01:03:53 | 2022-10-28T01:03:53 | {} | NONE |
vuejs | core | 1,294,291,026 | 4,294 | sxzz | @Miofly Please new an issue in [Vue Macros repo](https://github.com/sxzz/unplugin-vue-macros) with the minimum reproduction repo. By the way, defining default value by reactivity transform is not supported yet. | 2022-10-28T01:15:26 | 2022-10-28T01:15:26 | {} | MEMBER |
vuejs | core | 1,297,098,776 | 5,657 | chetan | The slot fix in 3.2.41 did not help in our case. Turns out it was the use of a dynamic component to implement layout switching in our top level `App.vue` component:
```
<script setup lang="ts">
const route = useRoute();
const layout = computed(() => {
return `${route.meta.layout || 'blank'}-layout`;
});
</sc... | 2022-10-31T13:33:13 | 2022-10-31T13:33:13 | {} | NONE |
vuejs | core | 1,292,941,418 | 6,142 | hzmsrv | any resolution for now? | 2022-10-27T04:04:42 | 2022-10-27T04:04:42 | {} | NONE |
vuejs | core | 1,293,166,015 | 6,953 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 3581583737a8545c1b6cf76c19f9dac62527de1a |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-10-27T08:21:31 | 2022-10-27T08:21:31 | {} | NONE |
vuejs | core | 1,293,199,905 | 6,944 | tuchg | @sxzz hi guys, do u have a minute to review this pr? | 2022-10-27T08:49:54 | 2022-10-27T08:49:54 | {
"eyes": 2
} | NONE |
vuejs | core | 1,293,411,984 | 6,970 | wirk | I did find a work-around to get the boolean casting to work by using an additional union type with boolean (`multiple: T | boolean`). However, I have come to realise that TypeScript does not resolve the dependant property's type (`modelValue` is always a union type, even in a literal object with `multiple` set), so it ... | 2022-10-27T11:52:03 | 2022-10-27T11:52:03 | {} | NONE |
vuejs | core | 1,294,867,826 | 5,471 | akhma-ps | Found a workaround. If you want to get rid of the annoying warning, you can specify the type you want, not directly, but through a generic, for example.
```ts
type AvoidValidation<T> = T
defineProps<{
modelValue: AvoidValidation<string | undefined>
}>()
```
This is type-check friendly, you keep the abil... | 2022-10-28T11:12:31 | 2022-10-28T11:12:31 | {
"+1": 4,
"heart": 1
} | NONE |
vuejs | core | 1,296,898,324 | 6,992 | shendiid | > It's legal in transformed code, but illegal in the source code at the JavaScript syntax level.
I think there is no solution,unless use `let`.😥 | 2022-10-31T10:35:57 | 2022-10-31T10:35:57 | {} | NONE |
vuejs | core | 1,297,915,386 | 6,992 | bbcvc | **This may be a break change.** @sxzz | 2022-11-01T01:59:52 | 2022-11-01T01:59:52 | {} | NONE |
vuejs | core | 1,298,244,344 | 6,997 | zhangzhonghe | The playground doesn't seem to be working correctly; look at [this](https://stackblitz.com/edit/nuxt-starter-k2q9uu?file=app.vue,nuxt.config.ts,README.md), it has a warning about hydration:
 => myArray.length, () => ...)
// or have the getter iterate over the array, i.e. with .slice()
// this... | 2022-10-31T10:35:35 | 2022-10-31T10:35:35 | {} | MEMBER |
vuejs | core | 1,298,068,370 | 6,992 | sxzz | @bbcvc It's not a valid syntax so the IDE or VSCode will emit an error. [Example](https://www.typescriptlang.org/play?#code/MYewdgzgLgBAZiEMC8MDkCRoFCZegIwEMAnNIA)
Even if it's a breaking change, considering that Reactivity Transform is an experimental feature, I think this breaking change is reasonable. | 2022-11-01T06:04:44 | 2022-11-01T06:04:44 | {} | MEMBER |
vuejs | core | 1,299,009,358 | 4,476 | u12206050 | Still doesn't work in Vue 3 it seems? | 2022-11-01T19:28:42 | 2022-11-01T19:28:42 | {} | NONE |
vuejs | core | 1,293,777,446 | 6,977 | luckylooke | Also I don't see limitation, why unref() could not return value of ComputedRef instance 🤔 | 2022-10-27T16:24:06 | 2022-10-27T16:24:06 | {} | NONE |
vuejs | core | 1,295,727,633 | 6,944 | tuchg | > ❤️ Great! Thanks for your contribution!
>
> Could you please add more tests about the examples I provided?
i think the current tests should already cover all for you provided ? | 2022-10-29T04:17:23 | 2022-10-29T06:27:20 | {} | NONE |
vuejs | core | 1,296,779,115 | 6,994 | zhangzhonghe | [Minimal reproduction](https://sfc.vuejs.org/#eNp9U81u2zAMfhVCpwRNbOywi5MUG/YGPfsiy4ytVpYESs7WGX73Uf5JvBboyRQpfj+kNYif3me3HkUhzhE7b2TE59ICnGt9mwIOqz5GZ+cDQIjvBi+lqBzVSEeSte5DAd/9nxNUUr015HpbH5UzjgogrE+wxJXhcilWoB/KaPXGSK20tcFf6bRWF2qAF1TSqD7pKmAYGowvGHoTd/txXOTls75V7UM4gM1q9FnQf6fm9H10rffW6JxvBsDHoEj7CAFj7zmjO+8owsCOrg... | 2022-10-31T08:50:04 | 2022-10-31T09:04:32 | {
"heart": 1
} | MEMBER |
vuejs | core | 1,298,184,702 | 6,992 | bbcvc | Answered my doubts. 🫡 | 2022-11-01T08:04:33 | 2022-11-01T08:04:33 | {
"eyes": 1
} | NONE |
vuejs | core | 1,293,704,667 | 6,966 | ysy945 |
> > this link is `http://localhost:5173`. if you want to show your problem online,may click [here](https://sfc.vuejs.org/#eNo9j71uwzAMhF+F5eIWqCV0NZQA3foGXbikjpw40B9EOR0EvXspp8imu9N9OFb8TEndN4sTGp7zmgqwLVs6Ulh9irlAhWwXaLDk6GGQrwMFCnMMXMDzBQ49fx2+rHMRvmN255fhjYLRD5yARBTrkzsVKwrAXD+Ote7l1owWtbtrSFuB++jj2boDoeSEEh... | 2022-10-27T15:26:54 | 2022-10-27T15:26:54 | {} | CONTRIBUTOR |
vuejs | core | 1,294,583,344 | 6,182 | LinusBorg | @antfu small ping? 😅 | 2022-10-28T07:28:56 | 2022-10-28T07:28:56 | {} | MEMBER |
vuejs | core | 1,297,154,329 | 6,043 | openroc | 也遇到了这个问题,v-for下动态组件列表,内存泄漏,尤其通过组件属性,往组件里传递大数组时,泄漏非常快,比如上面
<Test data="ArraySize_5K"> ... </Test> | 2022-10-31T14:13:32 | 2022-10-31T14:14:26 | {} | NONE |
vuejs | core | 1,299,096,298 | 4,476 | LinusBorg | Yes. This has no real prioity for us - the real-life usecase is still cloudy.
Personal Take: Your web components should not depend on a Vue-specific mechanism like provide/inject. Why turn your Vue Components into Web Components if you can only use them in other Vue apps because they depend on provide/inject? | 2022-11-01T20:25:43 | 2022-11-01T20:26:24 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.