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,508,119,254 | 4,294 | rvfakie | Wow. Almost 2 years and still not supported. I have to use workaround with `@vue-macros/nuxt` as @grbd mentioned here https://github.com/vuejs/core/issues/4294#issuecomment-1364769027 but this package installs a ton of other packages which is not required for literally one really important thing:
```
import { Props... | 2023-04-14T08:17:48 | 2023-04-14T08:18:58 | {
"+1": 7
} | NONE |
vuejs | core | 1,509,365,453 | 8,086 | LinusBorg | This works fine for me in Safari 16.3:
https://play.vuejs.org/#eNo9jbEOgzAQQ3/FzRJYYK/Sqv2PWxA92qhwicIFBsS/NwKpo+1nezPPGJsls7kaN/fJR8XMmuOdxE8xJMWGxAN2DClMsAW1JCRDll59EHQjF6iqsZEAq5dXWJvDrGz/6eTN4IVFsYb0nS+2JtlJXHuelZsilKc4dspFAc5LzIrHWb6ROcbIlNC1f9LsP2pPQn0=
If you can provide a reproduction, we can consider reo... | 2023-04-14T22:42:48 | 2023-04-14T22:42:48 | {} | MEMBER |
vuejs | core | 1,509,860,074 | 8,083 | yyx990803 | @innocenzi yes, that would be technically possible. Although I'll probably do that in a separate PR. | 2023-04-15T14:46:13 | 2023-04-15T14:46:13 | {
"+1": 9,
"heart": 3
} | MEMBER |
vuejs | core | 1,510,985,525 | 7,921 | Jevon617 | @Doeke
I think vite-plugin-vue has successfully notified Vue to update this file, but it cannot know whether a js file is a Vue component or not. Therefore, this issue is irrelevant to it.
For Vue, it should handle this situation with additional processing. I will submit a PR for this issue. | 2023-04-17T09:12:51 | 2023-04-17T09:12:51 | {
"+1": 1
} | NONE |
vuejs | core | 1,511,358,020 | 7,184 | jakubhruby | Merge please | 2023-04-17T13:33:13 | 2023-04-17T13:33:13 | {} | NONE |
vuejs | core | 1,512,542,386 | 8,105 | posva | This rings a bell, there could be another open issue about interrupting a transition here but I couldn't find it. It looks similar to https://github.com/vuejs/core/issues/6835 but clearly not the same. | 2023-04-18T06:58:05 | 2023-04-18T06:58:05 | {
"+1": 6
} | MEMBER |
vuejs | core | 1,504,940,367 | 6,219 | 4color | > > `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 'vue'
>
> export f... | 2023-04-12T09:16:27 | 2023-04-12T09:16:27 | {} | NONE |
vuejs | core | 1,506,134,597 | 8,073 | chemkes1999 | cool | 2023-04-13T00:22:50 | 2023-04-13T00:22:50 | {} | NONE |
vuejs | core | 1,508,139,655 | 4,294 | dakt | > Wow. Almost 2 years and still not supported. I have to use workaround with `@vue-macros/nuxt` as @grbd mentioned here [#4294 (comment)](https://github.com/vuejs/core/issues/4294#issuecomment-1364769027) but this package installs a ton of other packages which is not required for literally one really important thing:
... | 2023-04-14T08:34:01 | 2023-04-14T08:34:01 | {
"+1": 13,
"confused": 1
} | NONE |
vuejs | core | 1,510,150,954 | 8,083 | yyx990803 | @innocenzi global types supported via 4e028b96 | 2023-04-16T07:50:18 | 2023-04-16T07:50:18 | {
"heart": 9,
"hooray": 3,
"rocket": 9
} | MEMBER |
vuejs | core | 1,513,609,332 | 8,086 | ggualino | We're having a similar issue with Safari. The change event is not firing for computed properties. we are removing the comma of the string and converting the string to a number. we are not using the brightspace but the same issue. | 2023-04-18T18:18:45 | 2023-04-18T18:18:45 | {} | NONE |
vuejs | core | 1,506,924,913 | 5,696 | clouds56 | shall we make `defineProps` available in tsx as well, since we have plugin `@vitejs/plugin-vue-jsx`, maybe some work could be done when detected in `defineComponent`? | 2023-04-13T13:00:09 | 2023-04-13T13:00:09 | {} | NONE |
vuejs | core | 1,514,221,155 | 8,116 | edison1105 | We can't analyze the issue without a runnable reproduction | 2023-04-19T06:55:00 | 2023-04-19T06:55:00 | {} | MEMBER |
vuejs | core | 1,514,270,149 | 7,876 | haoqunjiang | Now that there's a workaround, I would like to label this issue as "p3: minor bug".
This doesn't mean the issue isn't important, but we need first to fix the regressions, the serious bugs violating documented behavior, and those can't be worked around before coming to this one.
A side note:
There are a few other i... | 2023-04-19T07:36:23 | 2023-04-19T07:36:23 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,515,613,006 | 8,079 | yyx990803 | Thanks for the PR, but this test case is unnecessary. Reactive objects work like this with or without `defineModel` - i.e. the test case has nothing to do with `defineModel` and isn't testing anything meaningful. | 2023-04-20T02:10:29 | 2023-04-20T02:10:38 | {} | MEMBER |
vuejs | core | 1,508,128,420 | 8,061 | haoqunjiang | Duplicate of https://github.com/vuejs/core/issues/7155 | 2023-04-14T08:25:04 | 2023-04-14T08:25:04 | {} | MEMBER |
vuejs | core | 1,508,468,713 | 8,083 | innocenzi | Could there be a way to feed a list of `.d.ts` files to the Vue compiler (eg. through the Vite plugin) so Vue can find types in these?
The use case is for back-end integrations. We generate types from non-TypeScript code (PHP in this example) into `.d.ts` files. These types can be used everywhere on the front-end, e... | 2023-04-14T12:59:53 | 2023-04-14T12:59:53 | {
"+1": 6
} | NONE |
vuejs | core | 1,509,869,991 | 8,083 | innocenzi | That would be amazing. Thanks for this PR as well, super useful. | 2023-04-15T15:20:43 | 2023-04-15T15:20:43 | {
"+1": 2
} | NONE |
vuejs | core | 1,513,875,787 | 2,444 | matthew-dean | I think I've run into this same bug on Vue 3.2.47. I have one particular component which has two children, a slot, and a dialog, like:
```vue
<template>
<slot :on-click="onClick"></slot>
<Dialog {some options} />
</template>
```
In my `<script setup>`, I have an `onBeforeUnmount` and `onUnmounted` callback. ... | 2023-04-18T22:43:17 | 2023-04-18T23:13:04 | {} | NONE |
vuejs | core | 1,514,205,618 | 8,116 | HostDay123 | 项目中关联较多,不方便提供可运行的最小代码。
经过版本回退找到原因如下:
这是可以正常运行的
```vue
<template>
<el-container >
<el-header >
<!--调用renderer()函数使用vue的h()函数动态渲染dom节点数据-->
<component :is="renderer()" v-show="false"></component>
</el-header>
<el-container>
<el-aside></el-aside>
<el-mai... | 2023-04-19T06:39:05 | 2023-04-19T06:39:05 | {
"-1": 3
} | NONE |
vuejs | core | 1,514,546,181 | 7,695 | cyrilluce | Same issue as https://github.com/vuejs/core/issues/5151 | 2023-04-19T11:07:39 | 2023-04-19T11:07:39 | {} | CONTRIBUTOR |
vuejs | core | 1,514,729,611 | 7,969 | tho-daskalakis | You should be having different validators for different inputs anyways. In your requested feature, you would be using multiple validators as well. The example you mentioned with vue-router vs v-if is not accurate, as in vue-router you have extra functionality, like lazy loading.
If you are concerned about a componen... | 2023-04-19T13:23:33 | 2023-04-19T13:23:33 | {} | NONE |
vuejs | core | 1,506,476,933 | 8,074 | edison1105 | could you provide a runnable minimal reproduction? | 2023-04-13T07:22:28 | 2023-04-13T07:22:28 | {} | MEMBER |
vuejs | core | 1,506,494,575 | 7,921 | Doeke | @Jevon617
Thanks for investigating. Sounds like this bug affects every vite+vue project that import components with slots from a node module. It also seems to be present in older versions I tried. I'm also not sure which repo this bug belongs to. Do you think I should open an issue on vite-plugin-vue? | 2023-04-13T07:37:43 | 2023-04-13T07:37:43 | {} | NONE |
vuejs | core | 1,508,285,132 | 7,928 | KaygNas | I need this feature too, try finding way out but it turns out there is not. | 2023-04-14T10:18:46 | 2023-04-14T10:18:46 | {} | NONE |
vuejs | core | 1,508,390,141 | 7,158 | martinszeltins | > Hi,
> Any chance that someone could validate this PR? It would really be helpfull :) It is really a pain that the HMR is not updating the page when developing with such libraries.
I am also waiting on this fix. Super annoying that HMR does not work.
@zhangzhonghe Is there any way I can use this fix today someh... | 2023-04-14T11:53:52 | 2023-04-14T11:54:57 | {} | NONE |
vuejs | core | 1,511,105,208 | 7,876 | brillout | > I consider this a critical bug as showing a blank page instead of an error page is a considerable UX degradation.
Just to reiterate that, from the perspective of vite-plugin-ssr users, I think this should labeled as `❗ p4-important` bug. | 2023-04-17T10:39:32 | 2023-04-17T10:39:32 | {} | NONE |
vuejs | core | 1,511,311,391 | 8,083 | wenfangdu | > Currently complex types and type imports from other files are not supported. It is possible to support type imports in the future.
Time to update the [doc](https://vuejs.org/api/sfc-script-setup.html#typescript-only-features). | 2023-04-17T13:09:06 | 2023-04-17T13:09:06 | {} | NONE |
vuejs | core | 1,512,594,835 | 7,876 | haoqunjiang | Does [`app.config.errorHandler`](https://vuejs.org/api/application.html#app-config-errorhandler) work for your use case?
I'm not familiar with the internals of `vite-plugin-ssr`, but when I added the following lines to the `createApp` function in `renderer/app.js`, it successfully showed a 500 page for me:
```
app... | 2023-04-18T07:33:08 | 2023-04-18T07:52:27 | {} | MEMBER |
vuejs | core | 1,514,190,584 | 8,115 | LinusBorg | We can't analyze the issue without a runnable reproduction | 2023-04-19T06:20:40 | 2023-04-19T06:20:47 | {} | MEMBER |
vuejs | core | 1,515,058,339 | 8,120 | LinusBorg | The reactive proxy reads from and writes to the nonreactive original. That's how it works. | 2023-04-19T16:48:32 | 2023-04-19T16:48:32 | {} | MEMBER |
vuejs | core | 1,504,502,880 | 8,066 | Craystyle1212 | curl https://api.openai.com/v1/files \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-F purpose="fine-tune" \
-F file="@mydata.jsonl"
| 2023-04-12T03:07:54 | 2023-04-12T05:14:07 | {} | NONE |
vuejs | core | 1,505,065,830 | 8,053 | Lyokolux | >html does not allow stacking regular space; it is a feature of HTML, not vue.
from a comment of https://stackoverflow.com/questions/65381611/add-whitespace-in-vue.
---
You can already build such a directive.
In your example, the content inside `CodeBlock` is passed to the `default` slot. You can intercept it... | 2023-04-12T10:52:15 | 2023-04-12T10:52:15 | {} | NONE |
vuejs | core | 1,506,363,621 | 8,074 | Maxim-Mazurok | Here's a patch that solves the issue for me:
```patch
diff --git a/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js b/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js
index 8442995..ca1c078 100644
--- a/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js
+++ b/node_modules/@vue/runtime-core/dis... | 2023-04-13T05:22:26 | 2023-04-13T05:22:26 | {} | NONE |
vuejs | core | 1,506,490,367 | 8,034 | katerlouis | What was new to me is that a DOM element can be key of an object; nice :) | 2023-04-13T07:33:59 | 2023-04-13T07:33:59 | {} | NONE |
vuejs | core | 1,507,278,240 | 8,079 | liuseen-l | thank you, I modified the test code according to your suggestion. | 2023-04-13T16:45:58 | 2023-04-13T16:45:58 | {} | CONTRIBUTOR |
vuejs | core | 1,508,457,403 | 8,083 | yyx990803 | Global types won't work - this can only work with explicitly imported types. | 2023-04-14T12:50:10 | 2023-04-14T12:50:10 | {
"eyes": 4
} | MEMBER |
vuejs | core | 1,514,628,175 | 5,657 | FVolral | > I also face this issue but I have no idea how to fix it nor do I know where exactly the issue occurs. It happens in production and dev mode with [PrimeVue ](https://github.com/primefaces/primevue) when I use nested tabs https://primefaces.org/primevue/tabview.
>
> Sometimes when changing from one tab to another vi... | 2023-04-19T12:14:40 | 2023-04-19T12:28:22 | {} | NONE |
vuejs | core | 1,308,853,830 | 7,073 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 4bfb8620ee6855d6bb9abc15a5009d64e8a8d464 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-09T14:31:41 | 2022-11-23T11:30:41 | {} | NONE |
vuejs | core | 1,328,084,122 | 7,219 | oceangravity | Hi @zhangzhonghe maybe this is related with: https://github.com/vuejs/core/issues/6978 | 2022-11-26T17:25:44 | 2022-11-26T17:25:44 | {} | NONE |
vuejs | core | 1,328,390,434 | 7,224 | edison1105 | https://vuejs.org/api/options-rendering.html#render
use `delimiters` option to config. | 2022-11-28T00:46:20 | 2022-11-28T00:46:20 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,299,696,996 | 6,222 | WhisperCode | - [ ] 坐等吃瓜 | 2022-11-02T07:35:43 | 2022-11-28T06:34:07 | {} | NONE |
vuejs | core | 1,331,443,004 | 7,244 | justinwinslow | As best as I can tell this also doesn't work which is why I ended up trying to update:
https://codesandbox.io/s/shy-cache-y6k0gz?file=/src/Child.vue
Fixed an issue and it does work in the sandbox but the same implementation doesn't reflect in the parent component in my app. Investigating further. | 2022-11-29T23:18:10 | 2022-11-30T02:15:08 | {} | NONE |
vuejs | core | 1,328,251,002 | 7,224 | LinusBorg | You can open an [RFC](https://github.com/vuejs/rfcs) about this for when we might do Vue 4. For Vue 3, this would obviously be a gigantic breaking change that we will not consider. | 2022-11-27T13:48:35 | 2022-11-27T13:48:35 | {} | MEMBER |
vuejs | core | 1,333,339,675 | 7,256 | nooooooom | > a workaround
>
> ```js
> <Container :show-children="!show">
> <div v-if="show" :key="1"> // add a key
> Provided Content
> </div>
> </Container>
> ```
This method can temporarily solve this problem, but if the component comes from an external library, we may need to find ways to avoid `key` repet... | 2022-12-01T07:46:36 | 2022-12-01T07:46:36 | {} | NONE |
vuejs | core | 1,324,899,982 | 7,197 | LinusBorg | Already realized my mistake, sorry about that. | 2022-11-23T11:19:26 | 2022-11-23T11:19:26 | {} | MEMBER |
vuejs | core | 1,328,732,934 | 7,224 | bomzj | > https://vuejs.org/api/options-rendering.html#render use `delimiters` option to config.
Thanks @edison1105 !
Just for someone who is looking for such a snippet:
```
// vite.config.js
import vue from '@vitejs/plugin-vue'
export default {
plugins: [
vue({
template: {
compilerOption... | 2022-11-28T08:52:19 | 2022-11-28T09:04:54 | {} | NONE |
vuejs | core | 1,333,389,340 | 7,256 | edison1105 | this is because of the slot children and the fallback children both as blocks but with empty dynamic children.
@nooooooom
```html
<template>
<slot>
<div> // remove v-if also works.
Fallback Content
</div>
</slot>
</template>
```
I usually use `$slots.default` to determine if need to dis... | 2022-12-01T08:24:59 | 2022-12-01T08:30:34 | {} | MEMBER |
vuejs | core | 1,333,808,239 | 7,258 | edison1105 | @jacekkarczmarczyk
oh~ It's my fault. It [works](https://sfc.vuejs.org/#__DEV__eNp9ks1uwjAMx18lymUg0QSYtEmo27o34LRTLqU1LKz5UJIWpKrvPicFxMZYVan23/bPdtKevlvLuhboiua+ctKGV6GlssYF0pPKQRlgLbUsZyR9PlpYN+1OajKQrTOKPNgoPwhdGe0DSR55ua6cTIUWGo6JWcO2bBtkC03G5Fm0PITWTqajPAiNb84v86ATQNkGidELeS07NAg+fV+ZVgdwA5YQkvMxlPNLAZ3RcZ9MlZb... | 2022-12-01T13:59:28 | 2022-12-01T13:59:28 | {} | MEMBER |
vuejs | core | 1,335,185,615 | 7,083 | xiaoxiangmoe | Also, can we use something like
```ts
/** @jsxImportSource @vue/jsx */
```
See jsxImportSource example:
* [Babel Customizing the Automatic Runtime Import](https://babeljs.io/docs/en/babel-plugin-transform-react-jsx#customizing-the-automatic-runtime-import)
* [TypeScript jsxImportSource demo](https://github... | 2022-12-02T12:53:53 | 2022-12-02T12:54:25 | {} | CONTRIBUTOR |
vuejs | core | 1,325,103,374 | 7,199 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 1ec2c199e382cf5101e32632cb7979cff80ecf9e |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-23T13:56:09 | 2022-11-23T13:56:09 | {} | NONE |
vuejs | core | 1,327,168,550 | 7,211 | posva | This is expected behavior: any function in the template will get called when the component updates.
---
Please, next time consider using the [forum](http://forum.vuejs.org/), the [Discord server](https://chat.vuejs.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js) for questions first. But feel free t... | 2022-11-25T08:48:05 | 2022-11-25T08:48:05 | {} | MEMBER |
vuejs | core | 1,333,421,551 | 7,228 | LinusBorg | What is this for? | 2022-12-01T08:50:13 | 2022-12-01T08:50:13 | {} | MEMBER |
vuejs | core | 1,334,866,811 | 7,218 | Tyh2001 | This is a good idea, but the pure string method is not very friendly.
Maybe we can?
```vue
<h1 v-let.a="msg + ` Vue`">{{ a }}</h1>
``` | 2022-12-02T07:45:05 | 2022-12-02T07:46:52 | {
"+1": 2
} | NONE |
vuejs | core | 1,325,237,711 | 6,273 | i404788 | Ah I see that makes sense (properties are compared by using standard js cmp I guess), thank you for the quick clarification | 2022-11-23T15:17:34 | 2022-11-23T15:17:34 | {} | NONE |
vuejs | core | 1,328,069,680 | 7,218 | sxzz | It's great! I'd like to migrate it to Vue Macros for early experience. | 2022-11-26T15:51:09 | 2022-11-26T15:51:09 | {
"+1": 2
} | MEMBER |
vuejs | core | 1,328,800,951 | 2,907 | andoniabedul | Hi @gquinteros93 I solved the problem adding a `devtools: false` in the app.use of vuex when is production.
Sorry for the delay answering I didn't read the notifications. | 2022-11-28T09:50:08 | 2022-11-28T09:50:08 | {} | NONE |
vuejs | core | 1,330,254,113 | 6,507 | jaulz | @edison1105 great to hear 😊 will it be in the next release? | 2022-11-29T08:21:28 | 2022-11-29T08:21:28 | {} | CONTRIBUTOR |
vuejs | core | 1,328,167,634 | 6,404 | emosheeep | Maybe there is an other way to locate `>>>` and `/deep/` which are special enough, just take a global search like this:
<img width="455" alt="image" src="https://user-images.githubusercontent.com/31957758/204118787-a15484b1-be65-42bc-9323-a96ef9b28561.png">
| 2022-11-27T04:14:12 | 2022-11-27T04:14:12 | {} | NONE |
vuejs | core | 1,328,196,752 | 7,218 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | ab4a41571054a7718966e8e84a80df5bea32d291 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-27T08:37:50 | 2022-11-27T08:37:50 | {} | NONE |
vuejs | core | 1,328,809,500 | 2,907 | andoniabedul | I would add that it's quite important that you use the `production` as **NODE_ENV**. In our case we were using `prod` and are some important differences on how Vue act in base on this variable.
For example, if you are not using `production` and you use `prod`, Vue will inject the HMR Plugin in each request. | 2022-11-28T09:57:47 | 2022-11-28T09:58:26 | {} | NONE |
vuejs | core | 1,330,206,514 | 6,435 | edison1105 | The root cause is that directives with children overwrite (e.g. v-html & v-text) are not working with Component yet in SSR.
here is a [workaround](https://sfc.vuejs.org/#__SSR__eNp9kT1vwjAQhv/KyUtAAntPA1LF0qHd2OoOFI4ShD90vlAklP/esxNa1ErNENn38fi9967qMUZ97lDVqmF08bRhXFoP0OzacznIcdUlDm6NF4aa5b+wqmJMXFkFZqg2Q3lj7iBN2lIbGR... | 2022-11-29T07:39:23 | 2022-11-29T12:03:48 | {} | MEMBER |
vuejs | core | 1,331,375,193 | 7,244 | LinusBorg | In Vue 2, v-model requires a `value` prop and an `input` event - so that's what it also requires with the compat build (until you disable v-model compat).
So this works as intended. | 2022-11-29T21:59:51 | 2022-11-29T21:59:51 | {} | MEMBER |
vuejs | core | 1,333,717,180 | 7,258 | jacekkarczmarczyk | Not sure what you mean, I have a PR for Vuetify playground that uses it (for Vue Router) and it seems to work fine:
https://vuetify-playground-bjer2u3fc-vuetifyjs1.vercel.app/#eNqFUk1TgzAQ/SvMnktisXroYAf/gXfjgUqsseRjkkB1Ov3vbgK2CFN6grf79u3bB69HeDaGtA2HNeSeS1OXnm+YSpK8TUtj4msEshSqR4itbjy3aS3UPvH6iYEpd3zJYPOCz2SZ0wHhx... | 2022-12-01T12:49:06 | 2022-12-01T12:49:06 | {} | CONTRIBUTOR |
vuejs | core | 1,335,673,877 | 2,349 | funkyvisions | I was able to do this
```
function activated() {
console.log("activated")
}
function deactivated() {
console.log("deactivated")
}
const isActive = ref(false)
watch(isActive, () => {
isActive.value ? activated() : deactivated()
})
export default {
beforeUpdate(el, binding, vnode) {
... | 2022-12-02T18:48:02 | 2022-12-02T18:48:02 | {} | NONE |
vuejs | core | 1,324,786,354 | 7,196 | LinusBorg | But this has nothing to do with Vue or Reactivity. It's a fundamental Javascript behavior. | 2022-11-23T09:44:55 | 2022-11-23T09:44:55 | {} | MEMBER |
vuejs | core | 1,325,256,404 | 6,273 | liulinboyi | > @LinusBorg I'm running into this issue and your comment is somewhat confusing, could you clarify how the following point works:
>
> ```
> let ganttBars = shallowRef<GanttEntry[]>([]);
> ganttBars.value = [...ganttBars.value]; // Does trigger component->watch(data)
> triggerRef(ganttBars) // Does not trigger com... | 2022-11-23T15:29:22 | 2022-11-23T15:32:19 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,330,319,360 | 6,507 | LinusBorg | Nothing was fixed yet, this was just closed as a duplicate of another open issue. | 2022-11-29T09:16:29 | 2022-11-29T09:16:29 | {} | MEMBER |
vuejs | core | 1,333,166,807 | 7,254 | Justineo | There's an open RFC for this:
- https://github.com/vuejs/rfcs/discussions/256
Earlier discussions:
- https://github.com/vuejs/vue/issues/4174
- https://github.com/vuejs/core/issues/3065 | 2022-12-01T04:49:19 | 2022-12-01T04:49:30 | {} | MEMBER |
vuejs | core | 1,324,668,229 | 7,196 | Asylian21 | @LinusBorg this is the real issue that cant be reproduced in SFC
https://www.loom.com/share/ea78c49c6714493996390a88d2f62df122
If it is still issue let me know i will make minimalistc version of the app and push it to git. | 2022-11-23T07:51:35 | 2022-11-24T11:10:59 | {} | NONE |
vuejs | core | 1,328,415,990 | 7,226 | fupengl | > No reproduction provided
Let me see how to provide it, this link is a bit long, one is in the component library, and the other is the project. | 2022-11-28T01:40:28 | 2022-11-28T01:40:28 | {} | NONE |
vuejs | core | 1,330,630,392 | 4,092 | MueckeMa | I also find this feature useful when I have slots in child components and would like to define them in the Enclosing Component. I don't know any solution for this. | 2022-11-29T13:09:32 | 2022-11-29T13:09:32 | {} | NONE |
vuejs | core | 1,333,333,943 | 7,256 | edison1105 | a workaround
```javascript
<Container :show-children="!show">
<div v-if="show" :key="1"> // add a key
Provided Content
</div>
</Container>
``` | 2022-12-01T07:39:25 | 2022-12-01T07:39:25 | {} | MEMBER |
vuejs | core | 1,333,364,414 | 4,745 | yorickshan | > I find a way to disable the warning, but it does not get the exact same result
```
:deep(*) {
.v-input--dense {}
.v-skeleton-loader {}
}
``` | 2022-12-01T08:04:11 | 2022-12-01T08:04:34 | {} | NONE |
vuejs | core | 1,334,918,478 | 7,255 | edison1105 | your reproduction is not minimal.
Could you provide a demo without any third-party component? | 2022-12-02T08:47:05 | 2022-12-02T08:47:05 | {} | MEMBER |
vuejs | core | 1,324,990,868 | 7,198 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 96b4d766bd2a69d9da48f3a1685a76255d2fcbfa |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-23T12:32:00 | 2022-11-23T12:32:00 | {} | NONE |
vuejs | core | 1,325,233,424 | 6,273 | LinusBorg | `triggerRef` will make the parent re-render, but since the ref still contains the same plain array, no prop has changed for `<Timeline>`, so that component will not re-render. | 2022-11-23T15:14:42 | 2022-11-23T15:17:18 | {} | MEMBER |
vuejs | core | 1,325,815,452 | 7,198 | baiwusanyu-c | > I added a test case.
Thank u 👍 | 2022-11-24T00:58:16 | 2022-11-24T00:58:16 | {} | MEMBER |
vuejs | core | 1,328,165,592 | 7,219 | zhangzhonghe | Duplicate of #6978 | 2022-11-27T03:56:06 | 2022-11-27T03:56:06 | {} | MEMBER |
vuejs | core | 1,328,403,776 | 7,201 | grandsong | Great! Thank you very much! | 2022-11-28T01:16:24 | 2022-11-28T01:16:24 | {} | NONE |
vuejs | core | 1,328,803,893 | 7,175 | edison1105 | <s>https://github.com/vuejs/core/blob/121eb32fb0a21cf9988d788cfad1b4249b15997b/packages/server-renderer/src/helpers/ssrRenderAttrs.ts#L14-L17
we ignore `innerHTML` tag in SSR.
</s>
duplicate of #6435
The root cause is that directives with children overwrite (e.g. v-html & v-text) are not working with `Component... | 2022-11-28T09:52:51 | 2022-11-29T12:04:16 | {} | MEMBER |
vuejs | core | 1,332,992,432 | 7,247 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 4e22e8fc84bff9c79fbde4b48259cd0b1750d3a2 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-12-01T01:01:46 | 2022-12-01T01:01:46 | {} | NONE |
vuejs | core | 1,333,483,525 | 7,010 | feitian124 | meet same issue,waiting new release。。。 | 2022-12-01T09:36:45 | 2022-12-01T09:36:45 | {} | NONE |
vuejs | core | 1,326,559,341 | 7,203 | steveworkman | If we are able to determine whether a given node is a custom element [in this if statement here](https://github.com/vuejs/core/blob/main/packages/runtime-core/src/hydration.ts#L328-L331) and patch the node, then it works extremely well.
However, trying to debug this we have found that the `isCustomElement` function ... | 2022-11-24T14:58:10 | 2022-11-24T14:58:10 | {} | NONE |
vuejs | core | 1,327,208,997 | 7,212 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 0ddc22ceb916e11f7cefe0e694d4c86de743a685 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-25T09:30:48 | 2022-11-25T09:30:48 | {} | NONE |
vuejs | core | 1,329,375,395 | 7,180 | Alexis2004 | @edison1105, as I see it, the mismatch issue is only reproducible in the playground environment.
In the playground there is a mismatch warning both before and after the fix.
If you reproduce and issue on the local machine then there is no mismatch on the current stable version of VueJS. | 2022-11-28T16:22:11 | 2022-11-28T16:22:11 | {} | NONE |
vuejs | core | 1,330,523,672 | 7,179 | joebnb | https://github.com/vuejs/core/issues/7206 could follow the industry common,like vue 2 universal module definition | 2022-11-29T12:04:21 | 2022-11-29T12:04:21 | {
"+1": 1
} | NONE |
vuejs | core | 1,334,118,090 | 7,258 | vanillajonathan | Yeah, I tried to use Firefox. It works in Chrome and Edge though.
Could Vuex, Vue Router and Bootstrap be added too?
> Failed to resolve module specifier "vuex".
Tip: add an "import-map.json" file to specify import paths for dependencies.
> Failed to resolve module specifier "vue-router".
Tip: add an "import... | 2022-12-01T17:34:53 | 2022-12-01T18:44:33 | {} | NONE |
vuejs | core | 1,325,328,675 | 7,198 | LinusBorg | I added a test case. | 2022-11-23T16:17:21 | 2022-11-23T16:17:21 | {} | MEMBER |
vuejs | core | 1,311,831,087 | 7,103 | cexbrayat | > I do something similar here: https://github.com/LinusBorg/vue-mixable/blob/main/src/vmContextProxy.ts
Unrelated @LinusBorg: shouldn't you have `vm` as a parameter here https://github.com/LinusBorg/vue-mixable/blob/main/src/vmContextProxy.ts#L15 (or `m` here https://github.com/LinusBorg/vue-mixable/blob/main/src/vm... | 2022-11-11T15:32:45 | 2022-11-23T22:25:34 | {} | MEMBER |
vuejs | core | 1,326,666,135 | 7,207 | Pezmc | Thanks for the reply @LinusBorg, you make very good points!
Some follow-up questions:
- _Is_ there a best practice for how to implement something like a tooltip?
- Is there somewhere suitable to ocument in Vue.js docs that this should not be done
- How does the `v-html` directive work if it's not manipulatin... | 2022-11-24T16:37:07 | 2022-11-24T16:38:14 | {} | NONE |
vuejs | core | 1,328,326,314 | 7,226 | LinusBorg | No reproduction provided | 2022-11-27T19:51:23 | 2022-11-27T19:51:23 | {} | MEMBER |
vuejs | core | 1,331,418,003 | 6,812 | segevfiner | @posva @Akryum We hit a serious performance issue in dev mode in Vue v3.2.41 vs v3.2.40 which forced us to pin our version and we suspect it was caused by this PR as the performance tools point to `cleanupBuffer`. This is on a page which mounts/unmounts components rather rapidly, when I have the time I'll try to create... | 2022-11-29T22:48:58 | 2022-11-29T22:48:58 | {} | NONE |
vuejs | core | 1,332,384,803 | 7,248 | LinusBorg | It seems you are using the esm build version of your libs and then include them as normal scripts. These files are meant to be used as models though (`<script type="module">`). if you include them as a plains script, they will add all of their code to the global namespace, which is why you see all of these namespace cl... | 2022-11-30T15:56:07 | 2022-11-30T15:56:28 | {} | MEMBER |
vuejs | core | 1,333,893,707 | 7,258 | vanillajonathan | > @jacekkarczmarczyk oh~ It's my fault. It [works](https://sfc.vuejs.org/#__DEV__eNp9ks1uwjAMx18lymUg0QSYtEmo27o34LRTLqU1LKz5UJIWpKrvPicFxMZYVan23/bPdtKevlvLuhboiua+ctKGV6GlssYF0pPKQRlgLbUsZyR9PlpYN+1OajKQrTOKPNgoPwhdGe0DSR55ua6cTIUWGo6JWcO2bBtkC03G5Fm0PITWTqajPAiNb84v86ATQNkGidELeS07NAg+fV+ZVgdwA5YQkvMxlPNLAZ3RcZ9MlZb... | 2022-12-01T14:59:10 | 2022-12-01T14:59:10 | {} | NONE |
vuejs | core | 1,333,930,880 | 7,258 | jacekkarczmarczyk | @vanillajonathan this error happens to me only in Firefox and is not related to devtool-api as it happens also with initial empty sfc playground | 2022-12-01T15:22:06 | 2022-12-01T15:22:06 | {} | CONTRIBUTOR |
vuejs | core | 1,324,675,180 | 7,196 | LinusBorg | You are creating a shallow copy of the array. the objects in the new array are still the same objects as in the old array.
So the same explanation still applies, basically. you are mutating the same objects in the array.
if you need a deep copy , there are multiple small or larger libs on npm that do that for you... | 2022-11-23T08:00:10 | 2022-11-23T08:00:10 | {} | MEMBER |
vuejs | core | 1,324,911,151 | 7,197 | LinusBorg | This function returns an empty string for custom classes because `MyClass.toString()` does not match the regexp when using real native ES6 classes. Should be easy enough to extend this to also work for custom classes.
https://github.com/vuejs/core/blob/f3e4f038bf299794b2ca4750b4678074660113c8/packages/runtime-core/s... | 2022-11-23T11:29:24 | 2022-11-23T11:29:24 | {} | MEMBER |
vuejs | core | 1,326,227,403 | 7,201 | grandsong | Thanks all the same. But you don't seem to understand what I really need.
I don't need a sub-component, which unnecessarily complicates code while I want to make code less and neat. | 2022-11-24T10:07:31 | 2022-11-24T10:07:31 | {} | NONE |
vuejs | core | 1,326,599,127 | 7,207 | LinusBorg | Manually messing with the DOM that is controlled by Vue is practically **never** a good idea.
The only safe things you can do are, pretty much:
1. inserting stuff into an otherwise totally empty element
2. adding attributes to an element that are not present on the element in the template.
Anything else is ... | 2022-11-24T15:33:04 | 2022-11-24T16:50:43 | {
"+1": 2
} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.