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,367,197,340 | 7,427 | MinatoHikari | > This does not seem to be a bug of Vue, as the `rerender` and `reload` functions of HMR are not executed after changing the file.
>
> Could you open an issue in Vite and preferably provide a **minimal** reproduction without other third-party dependencies?
>
> I'll close this for now. If you have any new problems... | 2022-12-29T09:50:16 | 2022-12-29T09:50:16 | {} | NONE |
vuejs | core | 1,367,261,088 | 7,427 | MinatoHikari | > @zhangzhonghe hello, the reproduction had some problem. I updated it. Removed almost all dependences. Now the bug can be exactly trigged. You can simply disable/enable this bug by comment/uncomment the line 17 of /src/pages/login/modules/requests. Can you check again about it?
| 2022-12-29T11:41:16 | 2022-12-29T11:41:16 | {} | NONE |
vuejs | core | 1,368,202,908 | 7,441 | sj7112 | OK, I'll try to show you other playgrounds. I understand what u're saying, and the current solution has solved my issues. But still think the string template can be improved, at least more detail can be revealed behind the compiler. | 2022-12-31T11:24:19 | 2022-12-31T11:24:19 | {} | NONE |
vuejs | core | 1,369,038,127 | 7,449 | LinusBorg | Please provide a runnable reproduction as is required in our issue guidelines. | 2023-01-02T15:30:46 | 2023-01-02T15:30:46 | {} | MEMBER |
vuejs | core | 1,369,058,915 | 7,448 | michelvermeulen | I did and it does the same thing. | 2023-01-02T16:04:59 | 2023-01-02T16:04:59 | {} | NONE |
vuejs | core | 1,370,137,506 | 7,458 | LinusBorg | Oh, now i understand the cause of the misconception.
What you refer to applies to adding new property to a already reactive object that you declared in `data`. That did not work without a helper method in Vue 2, and now works natively in Vue 3.
What you did was adding a new property to the *component instance its... | 2023-01-03T19:19:13 | 2023-01-03T19:20:00 | {} | MEMBER |
vuejs | core | 1,367,092,730 | 7,176 | hydrati | With PR #7398, Should I change the `defaultScriptLang` option default value into `"js"`? @sxzz | 2022-12-29T06:07:44 | 2022-12-29T06:07:44 | {} | NONE |
vuejs | core | 1,367,260,884 | 7,427 | MinatoHikari | @zhangzhonghe hello, the reproduction has some problem. I updated it.
Removed almost all dependences.
Now the bug can be exactly trigged.
You can simply disable/enable this bug by comment/uncomment the line 17 of /src/pages/login/modules/requests.
Can you check again about it? | 2022-12-29T11:40:51 | 2022-12-29T11:40:51 | {} | NONE |
vuejs | core | 1,367,358,447 | 7,427 | zhangzhonghe | You should not import the ```main.ts``` file directly [here](https://github.com/MinatoHikari/vue3-hmr-bug/blob/67c5071f4482186ae14065979b4ca4ebbab0d527/src/stores/user.ts#L2). It causes the ```app.mount('#app');``` runs multiple during HMR.
The console has a warning when triggering HMR:
<img width="635" alt="imag... | 2022-12-29T14:15:22 | 2022-12-29T14:15:22 | {} | MEMBER |
vuejs | core | 1,367,979,233 | 7,437 | sxzz | > in dev mode, recursive update will stop auto; in prod mode, it just continue run
The behaviors of dev and prod are expected since Vue emitted a warning when dev mode. The developers should fix this.
https://github.com/vuejs/core/blob/76b8573e2453ac7f63316be161e000086e4b4c4a/packages/runtime-core/src/scheduler.t... | 2022-12-30T15:45:54 | 2022-12-30T15:47:35 | {} | MEMBER |
vuejs | core | 1,368,242,475 | 7,437 | LinusBorg | Agreed. | 2022-12-31T15:35:08 | 2022-12-31T15:35:08 | {} | MEMBER |
vuejs | core | 1,370,418,194 | 7,458 | LeaVerou | I see, thank you for explaining, and even more for doing so with a testcase! It seems like a usability bug if the root data object behaves differently than child objects in that way. Given that the root data object is also a proxy, it seems like it would be possible to implement this behavior for that too. What is the ... | 2023-01-04T02:26:49 | 2023-01-04T02:26:58 | {} | NONE |
vuejs | core | 1,366,950,463 | 7,417 | kakikubo | @LinusBorg
I have prepared a repository to reproduce this issue. We would appreciate it if you could check it here.
Thank you very much.
https://github.com/kakikubo/vuejs-core-issue-7417
| 2022-12-28T22:03:07 | 2022-12-28T22:03:07 | {} | NONE |
vuejs | core | 1,367,292,177 | 7,173 | Lilja | Also, if you have to type `<script lang="ts" setup>` every time you create a component you are probably doing something wrong. You can set up snippets that generates barebone vue skeletons, works with all IDEs. | 2022-12-29T12:40:09 | 2022-12-29T12:40:09 | {} | NONE |
vuejs | core | 1,367,991,880 | 7,437 | Inori-Lover | @sxzz tks | 2022-12-30T16:16:27 | 2022-12-30T16:16:27 | {} | NONE |
vuejs | core | 1,368,341,708 | 7,437 | smallnine9 | do we need a pr? | 2023-01-01T03:46:06 | 2023-01-01T03:46:15 | {} | CONTRIBUTOR |
vuejs | core | 1,370,101,838 | 7,459 | LinusBorg | This hat been discussed multiple times, and won't happen at it's a breaking change.
`false` only removes real boolean attributes. `test1` is a custom attribute. | 2023-01-03T18:38:20 | 2023-01-03T21:43:40 | {} | MEMBER |
vuejs | core | 1,370,423,744 | 6,238 | qmhc | @zhangzhonghe I'm not sure if I'm on the right way. The code seems to have many overlaps, hope to get your guidance. | 2023-01-04T02:38:08 | 2023-01-04T02:38:08 | {} | NONE |
vuejs | core | 1,367,773,874 | 7,434 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 5e070231aaad214468c0f98db984fd09a69d5d21 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-12-30T07:39:22 | 2022-12-30T07:39:22 | {} | NONE |
vuejs | core | 1,369,082,318 | 7,448 | michelvermeulen | Actually my screenshot shows a lower Heap but I can also reproduce more listeners and more dom nodes with a higher heap. | 2023-01-02T16:39:30 | 2023-01-02T16:39:30 | {} | NONE |
vuejs | core | 1,369,388,602 | 7,450 | zhangzhonghe | I tried to change the ```rows```, and it worked fine:
<img width="251" alt="屏幕截图 2023-01-03 122624" src="https://user-images.githubusercontent.com/38434641/210300286-203b7424-1952-4349-afcf-7f4c3cf87169.png">
This may relate to the **ag-grid-vue3**. You can open an issue [there](https://github.com/ag-grid/ag-grid... | 2023-01-03T04:36:54 | 2023-01-03T04:36:54 | {} | MEMBER |
vuejs | core | 1,369,459,129 | 7,259 | theguriev | This is awesome. Would be cool to have it as a native helper type. | 2023-01-03T07:24:45 | 2023-01-03T07:24:45 | {
"+1": 1
} | NONE |
vuejs | core | 1,366,416,424 | 7,423 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e5d0d8e4195f434493cb9653a23c9bd7cb4189ca |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-12-28T06:59:41 | 2022-12-28T06:59:41 | {} | NONE |
vuejs | core | 1,367,251,615 | 7,429 | LinusBorg | [this commit](https://github.com/vuejs/core/commit/15e889afaf75143484946b2dde281572ebf9e8ab) is a fix for #6241, and it's the correct, intended behavior. as @sxzz correctly says: to reassign a "variable" with v-model, use a ref. | 2022-12-29T11:22:08 | 2022-12-29T11:22:08 | {} | MEMBER |
vuejs | core | 1,367,278,064 | 7,429 | baohangxing | thanks | 2022-12-29T12:13:27 | 2022-12-29T12:13:36 | {} | NONE |
vuejs | core | 1,369,147,323 | 7,448 | michelvermeulen | Here's another interesting bit. I was testing again in private mode, on VueSFC, and after clicking and fiddling around for a while, just refreshing the page is increasing the memory heap.
-> After going back and forth between components, way too many event listeners compared to what it's supposed to be, and it's not... | 2023-01-02T18:57:51 | 2023-01-02T19:03:29 | {} | NONE |
vuejs | core | 1,370,255,039 | 7,459 | LinusBorg | Feel free to make a suggestion in the docs repo.
| 2023-01-03T21:44:57 | 2023-01-03T21:44:57 | {} | MEMBER |
vuejs | core | 1,366,593,635 | 7,424 | sxzz | Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) to reopen the issue. Thanks.
https://antfu.me/posts/why-reproductions-are-required | 2022-12-28T11:50:48 | 2022-12-28T11:50:59 | {} | MEMBER |
vuejs | core | 1,367,333,365 | 7,428 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 76b8573e2453ac7f63316be161e000086e4b4c4a |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-12-29T13:46:41 | 2022-12-29T13:46:41 | {} | NONE |
vuejs | core | 1,367,376,653 | 7,428 | sxzz | @zhangzhonghe Fixed. Didn't notice that before | 2022-12-29T14:40:33 | 2022-12-29T14:40:33 | {} | MEMBER |
vuejs | core | 1,367,986,751 | 7,437 | sxzz | I think it is an intentionally optimized behavior of Vue. There are some small differences in behavior between production and development modes, but they are aimed to improve the developing experience.
In this case, the browser will be stuck by infinite looping. So that's why Vue will stop it and emit a warning in d... | 2022-12-30T16:05:23 | 2022-12-30T16:19:51 | {} | MEMBER |
vuejs | core | 1,368,205,401 | 7,441 | LinusBorg | > why VUE doesn't allow us to modify the template?
Because we so far don't see the use case / need.
1. Usually, each component has exactly one template
2. if you need the same component but with a different template, the usual way would be to create copy of the component with a new template
3. recompiling the t... | 2022-12-31T11:49:38 | 2022-12-31T11:49:38 | {} | MEMBER |
vuejs | core | 1,336,374,831 | 7,271 | rudyxu1102 | It will work if you set `const _msg = ref<number | string>(1)`. | 2022-12-04T10:43:00 | 2022-12-28T18:01:10 | {} | CONTRIBUTOR |
vuejs | core | 1,367,496,891 | 7,427 | MinatoHikari | > You should not import the `main.ts` file directly [here](https://github.com/MinatoHikari/vue3-hmr-bug/blob/67c5071f4482186ae14065979b4ca4ebbab0d527/src/stores/user.ts#L2). It causes the `app.mount('#app');` runs multiple during HMR.
>
> The console has a warning when triggering HMR:
>
> <img alt="image" width="... | 2022-12-29T18:02:05 | 2022-12-29T18:02:05 | {} | NONE |
vuejs | core | 1,369,054,172 | 7,448 | LinusBorg | Can you try replicating it with the devtools disabled, maybe in an private tab? | 2023-01-02T15:58:10 | 2023-01-02T15:58:10 | {} | MEMBER |
vuejs | core | 1,369,114,180 | 7,447 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | aad8bcbf924ed64b68f7af726e9a9815943106d7 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2023-01-02T17:40:05 | 2023-01-02T17:40:05 | {} | NONE |
vuejs | core | 1,370,117,871 | 7,458 | LinusBorg | I'm not sure what you are expecting. Only reactive values trigger re-renders. That's why we have reactivity in Vue. `bar`is not reactive. So nothing updates when it's being changed.
All of that is expected | 2023-01-03T18:56:51 | 2023-01-03T18:56:51 | {} | MEMBER |
vuejs | core | 1,369,848,714 | 7,456 | baiwusanyu-c | I think this may be a bug. During the normalization process of props, when the type is boolean or string, the incoming value of the string type will be prioritized as a boolean type for normalization | 2023-01-03T14:44:35 | 2023-01-03T14:44:35 | {
"heart": 2
} | MEMBER |
vuejs | core | 1,477,447,607 | 7,926 | baiwusanyu-c | global 选择器在 vue 编译时会将其提升到全局,这是符合预期的,即使你在预处理器中在嵌套语法做了限制,但在编译时它还是会被提升 | 2023-03-21T08:37:31 | 2023-03-21T08:37:31 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,477,742,620 | 7,678 | lehni | @AlexVagrant did you see my suggestion above? | 2023-03-21T12:19:51 | 2023-03-21T12:19:51 | {} | CONTRIBUTOR |
vuejs | core | 1,478,476,133 | 5,477 | paul-thebaud | Hello,
I'm sorry to ping this issue again, but I would like to know: is the PR review planned soon? | 2023-03-21T19:37:35 | 2023-03-21T19:37:35 | {
"eyes": 5
} | NONE |
vuejs | core | 1,478,978,783 | 6,160 | sxzz | /ecosystem-ci run | 2023-03-22T06:20:20 | 2023-03-22T06:20:20 | {} | MEMBER |
vuejs | core | 1,479,841,324 | 7,943 | LinusBorg | > The warning is only raised due to the presence of another defined event. If the another event is not defined, the some event is registered properly. ie the following works properly:
Not exactly. When you remove "another", no event is being registered at all (check the generated JS tab on the right). what however w... | 2023-03-22T15:59:00 | 2023-03-22T15:59:00 | {} | MEMBER |
vuejs | core | 1,474,519,160 | 7,115 | pedropcruz | I have the same issue, has anyone been able to figure out what the problem really is? | 2023-03-17T23:43:08 | 2023-03-17T23:43:08 | {
"eyes": 1
} | NONE |
vuejs | core | 1,474,907,898 | 7,911 | LinusBorg | Your props definition is invalid. You cant define the shape of the object being passed.
Please read up in the docs and/or ask the community for help | 2023-03-18T16:52:59 | 2023-03-18T16:52:59 | {} | MEMBER |
vuejs | core | 1,478,066,057 | 7,923 | LinusBorg | > you can define them as an empty array by default and add emits as props like:
>
> ```
> const props = defineProps(['emits'])
> defineEmits(props.emits ?? [])
> ```
That won't work. | 2023-03-21T15:39:31 | 2023-03-21T15:39:31 | {} | MEMBER |
vuejs | core | 1,479,240,135 | 5,899 | lbineau | Any news on this one?
The migration from Vue 2 to Vue 3 proposes to use `slots` as a replacement for `inline-template`.
So far I also had issues with `v-model` not working on scoped slots. | 2023-03-22T09:53:51 | 2023-03-22T09:53:51 | {} | NONE |
vuejs | core | 1,473,262,815 | 7,865 | daiwanxing | 😹 Okay,It's seems like no one think it need to solve, so let's close it. | 2023-03-17T06:52:46 | 2023-03-17T06:52:46 | {} | NONE |
vuejs | core | 1,474,878,353 | 7,910 | grillonbleu | Thanks for having a look. Hopefully someone knowledgeable about vue will chime in as well. | 2023-03-18T15:26:39 | 2023-03-18T15:26:39 | {} | NONE |
vuejs | core | 1,476,361,831 | 7,909 | baiwusanyu-c | This is not a bug, there is an extra ' ' in your template, please try
`<!-- A comment node -->${template}`, the reason for this problem is because in the `compat` mode of `vue3`, in order to ensure compatibility, the `whitespace` of the compiler defaults to `preserve `. You can circumvent this problem by modifying the... | 2023-03-20T14:42:52 | 2023-03-20T14:42:52 | {} | MEMBER |
vuejs | core | 1,476,500,331 | 7,920 | nymphaea-v1 | > This issue is not caused by VUE and can also exist when not using a framework.
Can you please give me an example?
I thought this is because click on the div with v-if in this example causes click initiated from label because for some reason label doesn't count this div as a part of the button (just like if I clic... | 2023-03-20T15:57:34 | 2023-03-20T15:57:34 | {
"+1": 1
} | NONE |
vuejs | core | 1,472,042,613 | 5,446 | joaomelo | I believe a parent component (P) should be able to consume a child component (C) without knowing if C is a single or multi-root component.
If, in component P, we set some CSS class for C, the styles tied to that class should fall through C no matter the root plurality. In my opinion, That API is consolidated in the ... | 2023-03-16T14:03:31 | 2023-03-16T14:08:08 | {
"+1": 2
} | NONE |
vuejs | core | 1,473,741,682 | 7,661 | DaniilIsupov | I confirm problem and also waiting for solution | 2023-03-17T12:13:22 | 2023-03-17T12:13:22 | {} | NONE |
vuejs | core | 1,474,980,487 | 7,910 | toomsie | The code looks like your code. But I am not sure if the template is indirectly compiled or not. via the `const template = this.$options.template;`
https://codesandbox.io/s/saturday-18-f7welb?file=/src/App.vue | 2023-03-18T20:15:39 | 2023-03-18T20:15:39 | {} | NONE |
vuejs | core | 1,476,474,316 | 7,921 | SimonCsoma | Does also not work on Windows+Chrome | 2023-03-20T15:42:39 | 2023-03-20T15:42:39 | {} | NONE |
vuejs | core | 1,477,240,146 | 7,920 | edison1105 | a workaround: `@click.prevent="toggle"` | 2023-03-21T03:43:58 | 2023-03-21T03:43:58 | {} | MEMBER |
vuejs | core | 1,479,085,990 | 7,929 | EarlySummer2018 | I think `.trim` should add to the `input` of the `Comp.vue` component. Because v-model in vue listens to native tags, not components
`vModelText` Source Code:[vModelText in line 43](https://github.dev/vuejs/core/packages/runtime-dom/src/directives/vModel.ts)
.
P.S. Sorry I didn't know the issue will be closed via cross-repo commit. | 2023-03-23T17:30:19 | 2023-03-23T17:31:59 | {
"heart": 1
} | MEMBER |
vuejs | core | 1,473,141,157 | 2,913 | zymotik | Example of the same config for Vite (`vite.config.js`) if you are building a library and don't want to include external dependencies in your dist code:
```js
import path from "path";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
export default defineConfig({
build: {
lib: {
... | 2023-03-17T05:11:43 | 2023-03-17T05:11:43 | {} | NONE |
vuejs | core | 1,473,297,576 | 5,811 | haoqunjiang | Fixed by https://github.com/vuejs/core/pull/5713 | 2023-03-17T07:34:25 | 2023-03-17T07:34:25 | {} | MEMBER |
vuejs | core | 1,473,613,083 | 7,897 | yunyuyuan | @hminghe wow,心有灵犀属于是。closed because duplicate | 2023-03-17T10:18:28 | 2023-03-17T10:18:28 | {} | NONE |
vuejs | core | 1,473,724,653 | 2,513 | miainchambers | @nicholasfishjgm I haven't yet deployed my Vue3 Options API application yet, it's going to sit in an iframe on a client's Wordpress site, so I'll let you know any issues/solutions I have. | 2023-03-17T11:59:05 | 2023-03-17T11:59:05 | {} | NONE |
vuejs | core | 1,474,698,771 | 7,910 | toomsie | There is more than one way to compile in vue.js. I tried a different approach and it worked, but it might be far different than you want. You might be able to refactor it to something useful. I changed the files main.js, ContentRender.vue and App.vue
https://codesandbox.io/s/pedantic-kowalevski-3d2jb7?file=/src/com... | 2023-03-18T04:42:35 | 2023-03-18T04:42:35 | {} | NONE |
vuejs | core | 1,474,842,852 | 7,910 | grillonbleu | I’m resorting to using compile() instead of the usual approach because the template is only known at runtime. It’s a Laravel+Inertia+Vite application where the users edit the template themselves. They’re stored and pulled from database.
In the full app, ContentRender receives its template as a prop, like this:
ht... | 2023-03-18T12:54:03 | 2023-03-18T12:54:03 | {} | NONE |
vuejs | core | 1,475,103,190 | 7,299 | BerthaPeng | need this too | 2023-03-19T04:48:33 | 2023-03-19T04:48:33 | {} | NONE |
vuejs | core | 1,477,450,745 | 7,926 | decadef20 | > global 选择器在 vue 编译时会将其提升到全局,这是符合预期的,即使你在预处理器中在嵌套语法做了限制,但在编译时它还是会被提升
找到了 可以通过 :deep() 实现我的预期,这里我跟less的global属性搞混了 | 2023-03-21T08:40:37 | 2023-03-21T09:08:16 | {} | NONE |
vuejs | core | 1,478,119,060 | 4,339 | majoson-chen | #7928 | 2023-03-21T16:05:11 | 2023-03-21T16:05:11 | {} | NONE |
vuejs | core | 1,479,545,059 | 7,939 | sxzz | Console API is not a built-in JavaScript API and I think the most important is that it has side effects. It will be executed multiple times when re-rendering, so it's not suitable to use it in `<template>`. | 2023-03-22T13:11:13 | 2023-03-22T13:11:13 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,480,472,793 | 7,218 | mon-jai | Will the language server be updated to integrate `v-scope` with TypeScript? | 2023-03-23T01:54:48 | 2023-03-23T01:54:48 | {} | NONE |
vuejs | core | 1,473,368,291 | 7,897 | hminghe | https://github.com/vuejs/core/discussions/6898
join discussions | 2023-03-17T08:19:38 | 2023-03-17T08:20:07 | {} | NONE |
vuejs | core | 1,475,241,769 | 7,897 | liulinboyi | I have wite a [simple plugin](https://github.com/liulinboyi/unplugin-vue-reuse-template) to reuse template.
```bash
npm i unplugin-vue-reuse-template -D
```
```ts
// vite.config.ts
import vueReuseTemplate from 'unplugin-vue-reuse-template/vite'
import Vue from '@vitejs/plugin-vue'
export default defineC... | 2023-03-19T12:38:48 | 2023-03-19T12:38:48 | {} | MEMBER |
vuejs | core | 1,476,592,271 | 7,909 | markrian | Thanks for the response, @baiwusanyu-c!
We can't set `whitespace: 'condense'` as that has much broader consequences.
So, you're saying that the extra whitespace means there's no single root node, so the `class` fallthrough doesn't apply? | 2023-03-20T16:50:23 | 2023-03-20T17:31:07 | {} | CONTRIBUTOR |
vuejs | core | 1,477,314,587 | 7,922 | himself65 | I read the code here. I think this should be `unknown` actually. but since it already `any`, it would be a breaking change | 2023-03-21T05:41:14 | 2023-03-21T05:41:14 | {} | CONTRIBUTOR |
vuejs | core | 1,477,327,156 | 7,922 | himself65 | /cc @sxzz I've updated the PR content because I think to remove `any` is unreachable for now | 2023-03-21T06:04:46 | 2023-03-21T06:04:46 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,480,771,123 | 7,391 | haoqunjiang | A note from #7944: the syntax highlighting in VS Code doesn't correctly handle this situation, while in the SFC playground, we can clearly see the first closing tag. | 2023-03-23T08:25:56 | 2023-03-23T08:25:56 | {} | MEMBER |
vuejs | core | 1,475,518,903 | 7,151 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 0ac86d252ec2419d4f65d9a607abf61e6243f859 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2023-03-20T02:26:03 | 2023-03-20T02:26:03 | {} | NONE |
vuejs | core | 1,476,224,541 | 7,910 | grillonbleu | This is fixed in Vue 3.3.0-alpha.4. | 2023-03-20T13:21:29 | 2023-03-20T13:21:29 | {} | NONE |
vuejs | core | 1,476,580,916 | 7,910 | toomsie | Very nice. I guess we should have tested the code in different versions 😒. | 2023-03-20T16:42:15 | 2023-03-20T16:42:15 | {} | NONE |
vuejs | core | 1,477,204,500 | 7,915 | mmis1000 | I think it's indeed `any`. Or, to make it safer, `unknown`. Vue 3 didn't require element to meet specified interface because implementation of node operations is specified outside of `runtime-core`
https://github.com/vuejs/core/blob/main/packages/runtime-dom/src/nodeOps.ts
The $el can be whatever you want if you... | 2023-03-21T02:43:04 | 2023-03-21T02:43:34 | {
"+1": 4
} | CONTRIBUTOR |
vuejs | core | 1,477,325,947 | 6,484 | KaelWD | @zhangzhonghe tests updated | 2023-03-21T06:02:56 | 2023-03-21T06:02:56 | {} | CONTRIBUTOR |
vuejs | core | 1,477,484,402 | 7,915 | baiwusanyu-c | I agree with @mmis1000 , I also think it should be `any`. You must know that Vue supports custom renderers, which makes the content rendered by components not necessarily standard dom elements | 2023-03-21T09:05:49 | 2023-03-21T09:05:49 | {
"+1": 3
} | MEMBER |
vuejs | core | 1,478,123,466 | 7,923 | LinusBorg | Concerning the question: use one event, pass the dynamic event name in its payload. | 2023-03-21T16:06:45 | 2023-03-21T16:06:45 | {
"laugh": 1
} | MEMBER |
vuejs | core | 1,478,156,293 | 1,825 | ByScripts | I also find it strange that this ticket was closed as "completed".
I'm unable to pass `.lazy` modifier from my custom component to native input. | 2023-03-21T16:17:33 | 2023-03-21T16:17:33 | {} | NONE |
vuejs | core | 1,478,299,182 | 6,610 | SavkaTaras | Hello @LinusBorg ,
Could you please evaluate this PR and see if this could be a valid fix for https://github.com/vuejs/core/issues/4662 issue?
Thank you so much,
Taras | 2023-03-21T17:20:43 | 2023-03-21T17:20:43 | {
"+1": 2
} | NONE |
vuejs | core | 1,481,493,501 | 6,715 | barksploit | I've just run into the same issue using Nuxt.
The workaround I found was simply providing a v-else condition to render a self-closing empty element in case the v-if condition returns falsy which seems to solve the comment problem
```
<p v-if="computedProperty">{{ computedProperty }}</p>
<div v-else />
``` | 2023-03-23T16:20:33 | 2023-03-23T16:25:50 | {} | NONE |
vuejs | core | 1,473,720,324 | 2,513 | nicholasfishjgm | +1 @miainchambers
We're about to starting building a Vue application for a client but have been informed that it may need to be placed inside an iframe for 3rd party sites using the app; what problems do we need to be aware of with this in 2023? | 2023-03-17T11:55:07 | 2023-03-17T11:55:07 | {} | NONE |
vuejs | core | 1,474,204,476 | 6,007 | b-d-k | Getting close to 1 year anniversary. Would be great if this could be fixed instead of a workaround hack.
At least it should be added to the official documentation, so that it doesn't feel like a hack any longer. Maybe it's there already? I couldn't find it. | 2023-03-17T17:54:08 | 2023-03-17T17:54:08 | {} | NONE |
vuejs | core | 1,474,865,023 | 7,910 | toomsie | I should have used my wording correctly. Still used a compiler but in a different way. I used the compileToFunction. To get it working your way using the`import { compile } from "vue"` perhaps the best way is to get the most **simple working example** of vue using a compiler. Perhaps there is a unit test already in th... | 2023-03-18T14:23:03 | 2023-03-18T14:59:06 | {} | NONE |
vuejs | core | 1,474,879,150 | 7,910 | toomsie | Ok, I have created a hello world example of my own. Later today I will make it close to your example and hopefully I might even be able to tell you why the error happened.
https://codesandbox.io/s/intelligent-sea-lwtdwy?file=/src/components/ContentRender.vue | 2023-03-18T15:30:35 | 2023-03-18T15:30:35 | {} | NONE |
vuejs | core | 1,476,592,132 | 7,920 | songbing97 | It seems that if label element wrap a button element which wrap a div element with v-if, that div element will be added a eventListener uncorrectly. It's weird. | 2023-03-20T16:50:17 | 2023-03-20T16:50:17 | {} | NONE |
vuejs | core | 1,478,103,566 | 7,928 | majoson-chen | #7930 | 2023-03-21T15:58:38 | 2023-03-21T15:58:38 | {} | NONE |
vuejs | core | 1,479,284,579 | 7,502 | StephanGerbeth | @baiwusanyu-c @LinusBorg when will you merge the fix into the main branch? | 2023-03-22T10:20:54 | 2023-03-22T10:20:54 | {
"+1": 1
} | NONE |
vuejs | core | 1,480,392,140 | 4,294 | nguyenvanhoangnhan | This works in my case
```ts
import { AvatarProps } from 'naive-ui/es/avatar/src/Avatar'
interface Props extends AvatarProps {}
const props = defineProps<Props>()
``` | 2023-03-22T23:41:11 | 2023-03-22T23:41:53 | {
"+1": 6,
"-1": 6
} | NONE |
vuejs | core | 1,480,645,802 | 7,943 | elfjes | I see, thanks for clearing that up :). I guess for now I'll just live with the warning, or maybe I'll disable it, since I'm importing the `Emits` type from another module and don't want to duplicate it.
Maybe at some point the compiler will pickup on union types, but no rush. Typescript provides enough safety for m... | 2023-03-23T06:02:31 | 2023-03-23T06:02:31 | {} | NONE |
vuejs | core | 1,480,769,165 | 7,944 | haoqunjiang | Let's track it in #7391 | 2023-03-23T08:24:04 | 2023-03-23T08:24:04 | {} | MEMBER |
vuejs | core | 1,473,854,893 | 2,513 | Kyon147 | @miainchambers I'm using Vue 3 with the comp api but I still have that "fix" in place and don't want to remove it until there is an official fix in place... | 2023-03-17T13:35:13 | 2023-03-17T13:35:13 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.