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,181,566,652 | 6,258 | huzedong2015 | > Yes. during dev, the internal proxy exposes all component state so that devtools can access it.
>
> Again, you are reaching into internals, which is not a good idea if you are not intimately familiar with them.
tks | 2022-07-12T10:01:08 | 2022-07-12T10:01:08 | {} | NONE |
vuejs | core | 1,182,067,871 | 4,404 | lcichanowicz | I needed this functionality now so I implemented the PR locally as described here:
https://github.com/vuejs/core/issues/4314#issuecomment-1021393430
However, my Vue project is not using TypeScript, so I used an online [TypeScript to JavaScript converter](https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbwFB1... | 2022-07-12T17:30:20 | 2022-07-12T17:33:36 | {} | NONE |
vuejs | core | 1,183,274,585 | 6,202 | Akryum | [Here](https://sfc.vuejs.org/#eNrVWG1v2zYQ/itXdaiV1pKSNMA2LU6QdehQoOiGZduXaR8UibKVSqRAUl4Dw/99dyQly1qcNHUyoPmQiLy7h/fy8Ehm5V00TbhsmRd7pyqTZaNBMd02Zwkv60ZIDSuQrIA1FFLUMEHVSS96I+rGzYcRDQhpI/4gZJ1WvYIdbquQ0ckWxIlTSPhpZB1CV3CgWd1UqWY4Ajg1muYTB50InqeZLgVXs8RbQZ7qFNaJ57ScEcQf2Q3KSTqQbaEUQgwE9EPaMaw60PXALNpyzE7RQp1zY/npsyDYrL... | 2022-07-13T14:08:59 | 2022-07-13T14:14:42 | {} | MEMBER |
vuejs | core | 1,186,456,174 | 6,282 | 0xlxx | https://vuejs.org/api/sfc-script-setup.html#top-level-await | 2022-07-17T09:19:12 | 2022-07-17T09:19:12 | {} | NONE |
vuejs | core | 1,186,519,783 | 6,286 | chirsChow | There are two bugs in monitoring all attributes of a responsive data defined by reactive: 1. The oldvalue cannot be obtained correctly; 2. The deep monitoring is forcibly turned on, and setting the deep configuration is invalid | 2022-07-17T13:33:11 | 2022-07-17T13:33:11 | {} | NONE |
vuejs | core | 1,186,408,752 | 6,272 | lidlanca | ## related: https://github.com/vuejs/core/issues/4613 (has workaround)
will fix this case
<img src="https://user-images.githubusercontent.com/8693091/179625130-ff912302-c6ff-40e7-80dc-6196578a9cdd.png" width="50%"/>
| 2022-07-17T05:27:36 | 2022-07-18T22:05:42 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,180,059,048 | 4,344 | 941477276 | > > I also met the same issue, the parent Application(vue3+vite2.0) share some common component to child Application, but if the common component exist slot , the child Application will throw an exception( vue3+ webpack5), <img alt="image" width="474" src="https://user-images.githubusercontent.com/22649700/172043383-a2... | 2022-07-11T07:28:11 | 2022-07-11T07:28:11 | {} | NONE |
vuejs | core | 1,183,089,457 | 4,339 | yokiyokiyoki | Need this feature ! | 2022-07-13T11:11:55 | 2022-07-13T11:11:55 | {} | NONE |
vuejs | core | 1,183,295,923 | 4,745 | adamxi | Is there any way to disable the warning?
We are upgrading an exiting project from Vue 2x to Vue 3. Due to technical reasons out of scope to explain here, we have +12000 lines of scss nested under a single ::v-deep { .. }. It's not an alternative for us to wrap every single class in a :deep(..) | 2022-07-13T14:27:05 | 2022-07-13T14:27:15 | {
"+1": 20
} | NONE |
vuejs | core | 1,184,083,514 | 6,260 | plehnen | Seems like the following edge-case causes troubles:
- Component is loaded inside "leave-transition" which is transitioning away from it (so it is removing the component after transition)
- inner component executes onBeforeMount and onMounted hooks
- inner component is technically removed, but still existing since ... | 2022-07-14T07:15:56 | 2022-07-14T07:15:56 | {} | NONE |
vuejs | core | 1,185,355,509 | 4,745 | monaounagi | @webturtles18
The following worked, but I am not sure if it is the intended use, as @theHacker says.
```
:deep() {
.class {}
}
``` | 2022-07-15T09:24:25 | 2022-07-15T09:24:25 | {
"+1": 8
} | NONE |
vuejs | core | 1,185,654,179 | 6,274 | lzxb | This will seriously slow down the compilation speed | 2022-07-15T15:27:15 | 2022-07-15T15:27:15 | {} | NONE |
vuejs | core | 1,179,708,876 | 6,246 | LinusBorg | Wow, this took me a second. Mostly because I could still not see the problem in the playground with or without refs - each time, the dom matched the client-side generated id.
That is, until I thought about what you might *actually* be doing with that id in you app: use it as an `id` attribute. After I did that in th... | 2022-07-10T11:21:34 | 2022-07-10T11:23:21 | {} | MEMBER |
vuejs | core | 1,181,206,582 | 6,245 | yyx990803 | 你手机系统和浏览器的版本都不提供,这是想让别人怎么帮你呢?
Vite 打包默认目标要求:https://caniuse.com/es6-module-dynamic-import
想支持更旧的浏览器需要用 [@vitejs/plugin-legacy](https://github.com/vitejs/vite/tree/main/packages/plugin-legacy)
还有,Vite 是 Vite,Vue 是 Vue,这个仓库只处理 Vue 本身的问题。
| 2022-07-12T01:17:01 | 2022-07-12T01:17:01 | {} | MEMBER |
vuejs | core | 1,181,248,138 | 5,657 | ghost | I also had this issue only in prod mode.
[vue3报错TypeError: Cannot read properties of null (reading 'insertBefore')](https://juejin.cn/post/7095997262878212104) helped me fix it.
Before
```
<el-table :columns="columns" :dataSource="dataSource">
<template #default="{ row }">
<span>{{ row.list.length }}</... | 2022-07-12T02:37:57 | 2022-07-12T02:37:57 | {
"+1": 5
} | NONE |
vuejs | core | 1,182,911,749 | 5,996 | nevecex | Same issue is happening to me. Like @livthomas mentioned it's something to do with AG Grid. My workaround is to use [patch-package](https://dev.to/zhnedyalkow/the-easiest-way-to-patch-your-npm-package-4ece) and the changes to the file he wrote. | 2022-07-13T08:15:29 | 2022-07-13T08:15:29 | {} | NONE |
vuejs | core | 1,183,110,509 | 5,218 | jxb4137 | https://zhuanlan.zhihu.com/p/522301954? | 2022-07-13T11:35:42 | 2022-07-13T11:35:42 | {} | NONE |
vuejs | core | 1,183,506,199 | 6,269 | LinusBorg | That would be a breaking change. Also, you can do that today by setting the deep option yourself.
So this wont be implemented. | 2022-07-13T17:44:25 | 2022-07-13T17:44:25 | {} | MEMBER |
vuejs | core | 1,184,229,787 | 5,764 | tazyong | I also encountered this problem. This is a bug, yet 3 months have passed, and there is no intention to fix it. Very disappointed! | 2022-07-14T09:43:35 | 2022-07-14T09:43:35 | {} | NONE |
vuejs | core | 1,184,868,535 | 5,996 | zswaff | Bumping this thread--this change would be very useful for me and my team, we're using AG Grid and running into this issue. Patch is working for now but not a great long-term solution for us. | 2022-07-14T20:29:49 | 2022-07-14T20:30:04 | {} | NONE |
vuejs | core | 1,186,138,391 | 6,245 | Justineo | 如果你能在原始 issue 里提过你补充描述的信息,或者好好说话,那么你更有可能得到帮助。 | 2022-07-16T09:59:40 | 2022-07-16T09:59:40 | {} | MEMBER |
vuejs | core | 1,187,010,191 | 6,289 | edison1105 | duplicated of https://github.com/vuejs/core/issues/4605 | 2022-07-18T10:07:28 | 2022-07-18T10:07:34 | {} | MEMBER |
vuejs | core | 1,187,732,494 | 6,295 | posva | Normally, [comments are removed in production](https://vuejs.org/api/application.html#app-config-compileroptions) to avoid this but for some reason the comments: false option is not applied by default with vue-loader. You can manually add it:
```js
{
test: /\.vue$/,
loader: "vue-loader",
... | 2022-07-18T16:46:05 | 2022-07-18T16:46:05 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,184,660,474 | 6,270 | liulinboyi | > This is a bug. It was raised three months ago, and there is no intention to solve it until now.
https://github.com/vuejs/core/issues/5764#issuecomment-1113608632 | 2022-07-14T16:41:24 | 2022-07-14T16:41:24 | {} | MEMBER |
vuejs | core | 1,184,793,234 | 6,272 | LinusBorg | This is an interesting one, and it has nothing to do with custom elements.
Vue does not re-use the actual template element that you defined in the `#app` element. That content is parsed as a Vue-template, converted into a render function and when Vue then renders the app, it will re-create the content dynamically. T... | 2022-07-14T18:59:46 | 2022-07-14T19:01:16 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,186,528,371 | 6,287 | LinusBorg | Seems to be a vite or create-vue issue. | 2022-07-17T14:04:25 | 2022-07-17T14:04:25 | {} | MEMBER |
vuejs | core | 1,187,009,921 | 6,277 | LeaVerou | Yeah, `:value.attr="``"` is what I ended up doing, but it seems strange to have to use Vue specific stuff to preserve markup in an element that never even had any Vue attributes or expressions in the first place. I knew that Vue removes attributes when the value is `null`, but not when it is `""`. Furthermore, empty at... | 2022-07-18T10:07:14 | 2022-07-18T10:07:14 | {} | NONE |
vuejs | core | 1,188,417,354 | 1,342 | ariviom | This issue is long closed now, but comment DOM nodes to affect CSS pseudo-selectors like `:first` and can cause unexpected behavior and hurdles when styling, even if users aren't inspecting the DOM. | 2022-07-18T23:05:03 | 2022-07-18T23:05:03 | {
"+1": 1
} | NONE |
vuejs | core | 1,182,534,986 | 5,996 | rhues | I have also encountered this issue. I agree the fix from @livthomas should work. | 2022-07-12T21:53:36 | 2022-07-12T21:53:36 | {} | NONE |
vuejs | core | 1,184,098,595 | 6,219 | yokiyokiyoki | 俺也需要 | 2022-07-14T07:32:09 | 2022-07-14T07:32:09 | {} | NONE |
vuejs | core | 1,186,108,732 | 6,219 | chenhaihong |
> `include` 其实就可以实现了,把组件包裹一层自定义一下的 name 就可以了。 参考: https://github.com/hminghe/md-admin-element-plus/blob/main/src/components/multi-window/components/MultiWindowKeepAlive.vue
>
> 不过还有一点点BUG, 等这个合并了就完美了。#6235
给个赞,你的这个方式能解决我的问题!!!感谢大佬的思路!
```javascript
// 代码大概会是这样子
import { h } from 'vue'
export functio... | 2022-07-16T07:33:09 | 2022-07-16T07:33:25 | {
"+1": 2
} | NONE |
vuejs | core | 1,186,529,278 | 6,284 | LinusBorg | Synchronous changes dont trigger a watcher multiple times unless `flush: 'sync'` is used. | 2022-07-17T14:07:18 | 2022-07-17T14:07:18 | {} | MEMBER |
vuejs | core | 1,179,712,072 | 6,247 | LinusBorg | Please open an issue with FormKit. | 2022-07-10T11:42:27 | 2022-07-10T11:42:27 | {} | MEMBER |
vuejs | core | 1,180,134,814 | 6,230 | uCloudCastle | 试了下通过实例也能进行 Minxin 和 原型链挂载,Issue Close | 2022-07-11T08:51:51 | 2022-07-11T08:51:51 | {} | NONE |
vuejs | core | 1,174,545,866 | 6,222 | wuyuweixin | +1 | 2022-07-05T02:50:38 | 2022-07-11T18:10:27 | {} | NONE |
vuejs | core | 1,183,753,439 | 5,767 | daniloribeiro00 | > I've had the same issue with nuxt3 + vite + vuetify. In my case adding `server: { watch: { usePolling: true, }, },` This solved the problem for me but for the solution that is posted did not work. Is there anyone who have any suggestion?
It didn't work for me (vue 3 + vite) | 2022-07-13T22:42:40 | 2022-07-13T22:42:40 | {} | NONE |
vuejs | core | 1,186,104,588 | 6,219 | hminghe | `include` 其实就可以实现了,把组件包裹一层自定义一下的 name 就可以了。
参考: https://github.com/hminghe/md-admin-element-plus/blob/main/src/components/multi-window/components/MultiWindowKeepAlive.vue
不过还有一点点BUG, 等这个合并了就完美了。https://github.com/vuejs/core/pull/6235 | 2022-07-16T07:05:14 | 2022-07-16T07:05:14 | {} | NONE |
vuejs | core | 1,187,166,145 | 6,282 | littleweb | it's ok.
```
<template>
{{docid}}
</template>
<script setup>
import axios from 'axios';
import { ref, reactive, onMounted } from 'vue';
const docid = ref('');
docid.value= 'xxx';
onMounted(async() => {
const md5 = (await axios.get(`https://cs-api.sh-d.com/md5?str=xxx`)).data;
... | 2022-07-18T11:38:53 | 2022-07-18T11:39:24 | {} | NONE |
vuejs | core | 1,308,086,318 | 7,041 | btea | For the case without `as`, maybe can refer #5937 | 2022-11-09T01:50:11 | 2022-11-09T01:50:11 | {} | CONTRIBUTOR |
vuejs | core | 1,308,098,839 | 7,066 | jizai1125 | > I just wondering why to open soo many issues. #7026 #7027 #7064 #7065 #7066 😅
sorry 😅 it was careless | 2022-11-09T02:06:32 | 2022-11-09T02:06:46 | {} | NONE |
vuejs | core | 1,308,132,966 | 7,041 | sxzz | @btea I think it's very hard to check it by regex, I think we could do it by AST. I trying to implement it. | 2022-11-09T02:55:54 | 2022-11-09T02:58:26 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,308,151,799 | 7,059 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e7be3965f9adc9f254a6d2b94ae9b40d83961732 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-09T03:18:22 | 2022-11-09T04:23:03 | {} | NONE |
vuejs | core | 1,308,703,745 | 7,071 | yyx990803 | Thanks for the PR! I believe the length of the initial old value array does not matter, so an empty array should suffice. See 23e85e21 | 2022-11-09T12:50:57 | 2022-11-09T12:50:57 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,309,663,989 | 1,539 | yyx990803 | As of 3.2.44 this is now working as intended: https://sfc.vuejs.org/#eNqlUe1qg0AQfJXlKJyCOf/bNFD6GLU/Ul2jQT3ZPdOW4Lt373JN+gGlJYLi3s7O3Owc1f00mcOMqlBrrqib3KYcoRsmSw6O0MICDdkBtGD0pfPQdn0dOyYPlWcRhGDwNWBqbLZzLyxyBEA41khJGkt/4GYaoU103R10JmJVv2UuQDfWalgyeNSEtXTaJAhkINN3m8uE5t46naZPaaBc5CvvOj/7kILdW4/AlZ2w9s5ARr2U7S0Vcof6Ns5... | 2022-11-10T01:59:51 | 2022-11-10T01:59:51 | {
"heart": 2,
"rocket": 3
} | MEMBER |
vuejs | core | 1,307,412,984 | 6,843 | yyx990803 | Thanks for the PR. We still need a separate test case for this to better document the problem, and we should not introduce test-only logic to fix a case. See dd3354c4 | 2022-11-08T15:36:37 | 2022-11-08T15:36:37 | {} | MEMBER |
vuejs | core | 1,307,662,875 | 1,172 | neverblued | IMHO better be like:
```html
<li v-for="id in users" :key="id" v-set="{ user: getUser(id), var2: true, var3: getUserPrefs(id) }"> | 2022-11-08T18:34:15 | 2022-11-08T18:34:15 | {
"+1": 4,
"heart": 1
} | NONE |
vuejs | core | 1,308,128,217 | 7,041 | btea | I tried it but it fails in these cases
https://github.com/vuejs/core/blob/7663a79a295800da7c889fcd2e8e1e6d775263db/packages/compiler-sfc/__tests__/rewriteDefault.spec.ts#L18-L33 | 2022-11-09T02:49:08 | 2022-11-09T02:49:08 | {} | CONTRIBUTOR |
vuejs | core | 1,296,178,994 | 6,990 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | d8e61071efb62cb4d1071198528d85c8728ed102 |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-10-30T09:09:31 | 2022-11-10T12:27:41 | {} | NONE |
vuejs | core | 1,310,327,525 | 7,094 | LinusBorg | I'm not sure what behavior you are expecting or what you mean by "scoped slot was not used".
slots are functions. passing a prop to a slot will call that function, regardless of wether or not use actually make use of the passed argument in it. And your components all constantly re-render because you constantly chang... | 2022-11-10T14:04:13 | 2022-11-10T14:09:00 | {} | MEMBER |
vuejs | core | 1,310,396,977 | 7,094 | 1593292349 | @LinusBorg This is just for illustrative purposes, wherever this function is, the re-rendering of vue3 will inevitably result in its execution. I just want him to reuse the previous vnodes instead of generating new vnodes, which can be time-consuming | 2022-11-10T14:43:07 | 2022-11-10T14:43:07 | {} | NONE |
vuejs | core | 1,310,515,765 | 7,094 | 1593292349 | The code for the page is in "doc/App.vue" | 2022-11-10T15:58:50 | 2022-11-10T15:58:50 | {} | NONE |
vuejs | core | 1,310,573,960 | 7,094 | LinusBorg | That example uses scoped slots (and is using their slot props), which are functions in both Vue 2 and Vue 3. and of course a virtual scroller rendering dozens of lines at a time through a scoped slot will render the slots function hundreds of times when you scroll around a huge list.
I'm not sure what this is intend... | 2022-11-10T16:37:58 | 2022-11-10T16:37:58 | {} | MEMBER |
vuejs | core | 1,292,135,773 | 6,963 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 5e01dbf9eaea2e9727633fe8fe425b8fc42f13ef |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-10-26T14:25:52 | 2022-11-08T10:31:28 | {} | NONE |
vuejs | core | 1,308,474,683 | 7,070 | LinusBorg | Sorry about that, will fix | 2022-11-09T09:38:08 | 2022-11-09T09:38:08 | {} | MEMBER |
vuejs | core | 1,308,812,547 | 7,061 | ycmjason | closing in favour of #7073 which fixes #5159 completely. | 2022-11-09T14:03:20 | 2022-11-09T14:30:17 | {} | CONTRIBUTOR |
vuejs | core | 1,308,951,669 | 7,041 | znck | AST based approach handles default in comments and strings, I think works better in all cases. Closing in favour of #7068. | 2022-11-09T15:39:14 | 2022-11-09T15:39:14 | {} | MEMBER |
vuejs | core | 1,309,164,530 | 4,690 | vivien2022-hue | vivienbalint866@outlook.com2022#!÷@$@🎼🎤🎼🎤🎤📻🥁thxenterxdxdxdhahaha2022!÷÷@=#=🎛🎼🎤🎼🎻00447341113735-00447469345852-00447884708210-0036301137016 2022!÷÷@@%#🎤🎺🎧🎻🎧📻azazthxenterxdxdxdhahahaz÷!=@/#🎼🎛🎵🎤🎷🥁azaz202w÷!=@#%🎼🎺🎵🎤🎶📻 | 2022-11-09T18:08:36 | 2022-11-09T18:08:36 | {} | NONE |
vuejs | core | 1,309,926,156 | 5,887 | yyx990803 | The reason is that your app is actually loading two different copies of Vue.
1. Both your `my-vue-app` and `shared` directory lists `vue` as dependency, and they are installed separately
2. `node_modules` resolution resolves dependency closest to the file being processed. This is necessary because technically you c... | 2022-11-10T08:17:46 | 2022-11-10T08:17:46 | {} | MEMBER |
vuejs | core | 1,310,467,316 | 7,094 | 1593292349 | @LinusBorg Please wait a moment while I write a simple example and give you a git address | 2022-11-10T15:31:14 | 2022-11-10T15:31:14 | {} | NONE |
vuejs | core | 1,311,110,936 | 7,092 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 702b5ada5655f179d24d6a7c2e246e462049f4fc |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-11T01:17:07 | 2022-11-11T01:17:07 | {} | NONE |
vuejs | core | 1,308,107,697 | 6,222 | Niefee | same error | 2022-11-09T02:16:46 | 2022-11-09T02:16:46 | {} | NONE |
vuejs | core | 1,308,636,346 | 7,071 | LinusBorg | @KaelWD Looks good, wdyt? | 2022-11-09T11:52:48 | 2022-11-09T11:52:48 | {} | MEMBER |
vuejs | core | 1,310,060,365 | 6,819 | newVincentFong | It's an underrated feature here!
First of all, it would really be nice to have:
```html
<!-- Outside -->
<SomeFormComponent
@validate="validateData"
@submit="saveDataToDatabase"
/>
<script>
async function validateData() {
await API.validateXXX()
}
async function saveDataToDatabase() {
await API.postXXX... | 2022-11-10T10:16:11 | 2022-11-10T10:16:11 | {} | NONE |
vuejs | core | 1,296,179,653 | 6,990 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | d8e61071efb62cb4d1071198528d85c8728ed102 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-10-30T09:11:15 | 2022-11-10T12:30:03 | {} | NONE |
vuejs | core | 1,310,357,072 | 6,990 | JayFate | @sxzz I rebased it to `origin/main`. Maybe it's ready to be merged. | 2022-11-10T14:23:24 | 2022-11-10T14:23:24 | {
"heart": 1
} | CONTRIBUTOR |
vuejs | core | 1,311,100,874 | 7,094 | yyx990803 | This is expected behavior. Slots do not have their own tracking scope, they are rendered as part of the child component's tree. If the child component is updated, any slots it uses will be called as well.
This cost can be avoided in more granular systems like vapor mode which we are exploring for the future, but not... | 2022-11-11T01:06:47 | 2022-11-11T01:08:43 | {} | MEMBER |
vuejs | core | 1,311,106,951 | 7,092 | yyx990803 | 👍 added comments to ensure the intention is clear | 2022-11-11T01:12:00 | 2022-11-11T01:12:00 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,290,036,516 | 6,944 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 309a08b55e22457faf58713ff614925e91837324 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-10-25T06:12:42 | 2022-11-09T01:00:28 | {} | NONE |
vuejs | core | 1,308,816,038 | 7,072 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | eed1f97a6eef448f329202fc207c90ebf2ef1748 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-09T14:05:37 | 2022-11-09T14:11:20 | {} | NONE |
vuejs | core | 1,308,905,763 | 6,809 | yuntian001 | @yyx990803 应用当前代码 当两个keepAlive的路由来回切换时有问题
- 路由组件1 `test1.vue`
```
<template>
<div class="index">
hello test1
<input v-model="value" name="text" />
<button @click="test()">console test</button>
</div>
</template>
<script setup lang="ts" >
import test from './hooks/test';
</script>
```
... | 2022-11-09T15:08:36 | 2022-11-09T15:10:52 | {
"+1": 2
} | NONE |
vuejs | core | 1,309,724,550 | 7,078 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 28c879528c323b2649c20c06dff24f24c10549f5 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-10T03:37:26 | 2022-11-10T03:37:26 | {} | NONE |
vuejs | core | 1,309,894,493 | 7,083 | znck | Looks like dts tests run before building, trying to fix it. | 2022-11-10T07:45:40 | 2022-11-10T07:45:40 | {} | MEMBER |
vuejs | core | 1,310,168,785 | 7,093 | btea | It seems to be related to #6781 | 2022-11-10T11:50:02 | 2022-11-10T11:50:02 | {} | CONTRIBUTOR |
vuejs | core | 1,310,364,929 | 7,094 | 1593292349 | The same code is updated for vue3, but not for vue2. You can run the code into a vue2 project and you will see that the slot will only run once | 2022-11-10T14:27:19 | 2022-11-10T14:29:23 | {} | NONE |
vuejs | core | 1,310,378,680 | 7,094 | LinusBorg | >The same code is updated for vue3, but not for vue2. You can run the code into a vue2 project and you will see that the slot will only run once
yes. Because in Vue 3, slots are functions, returning vnodes. in Vue 2, normal slots are just an array of pre-rendered vnodes, received from the parent.
But there should... | 2022-11-10T14:32:44 | 2022-11-10T14:35:33 | {} | MEMBER |
vuejs | core | 1,310,893,881 | 7,068 | sxzz | @znck Done. | 2022-11-10T21:08:00 | 2022-11-10T21:08:00 | {} | MEMBER |
vuejs | core | 1,308,788,678 | 5,033 | zhangbowy | ant-design-vue fixed this https://github.com/vueComponent/ant-design-vue/pull/6085 | 2022-11-09T13:45:16 | 2022-11-09T13:45:16 | {} | NONE |
vuejs | core | 1,308,859,229 | 7,041 | sxzz | 😮💨 I think it's too complex, even if we have a perfect regex.
We have the AST (PR #7068) already, so I think checking it through AST is better than a very complex regex | 2022-11-09T14:35:51 | 2022-11-09T14:35:51 | {
"+1": 3
} | MEMBER |
vuejs | core | 1,309,707,032 | 5,584 | IF-tiger | vue3:
v-model="props.modelValue",
const emits = defineEmits(['update:modelValue'])
use `watch` or `computed`
watch(
() => props.modelValue,
(val) => {
emits('update:modelValue', val)
},
{ deep: true }
)
outUse:
v-model:model-value="youValue",
可以解决在dev环境正常,但是在`test`或`prod`环境抛出错误的问题。 | 2022-11-10T03:08:19 | 2022-11-10T03:08:19 | {} | NONE |
vuejs | core | 1,309,833,102 | 7,080 | yyx990803 | If a template contains large amount of purely static nodes, they are already optimized into a static node that is created only once. [Example](https://template-explorer.vuejs.org/#eyJzcmMiOiI8ZGl2PlxuICA8c3Bhbj5mZXNmPC9zcGFuPlxuICA8c3Bhbj5mZXNmPC9zcGFuPlxuICA8c3Bhbj5mZXNmPC9zcGFuPlxuICA8c3Bhbj5mZXNmPC9zcGFuPlxuICA8c3Bh... | 2022-11-10T06:28:01 | 2022-11-10T06:28:01 | {} | MEMBER |
vuejs | core | 1,307,049,132 | 7,057 | pea-cake | sorry!🥲
🧐repeat https://github.com/vuejs/router/issues/626 | 2022-11-08T11:19:38 | 2022-11-08T11:19:38 | {} | NONE |
vuejs | core | 1,307,771,435 | 4,662 | mrcego | > As another workaround, here is how I got an entire application to be shipped as a custom element.
>
> First, you need to disable your Vue components to be treated as custom elements (either by **not** turning on the `customElement` option of your bundler, or by **not** ending the name of your components by `.ce.vue... | 2022-11-08T20:11:08 | 2022-11-08T20:11:08 | {} | NONE |
vuejs | core | 1,308,090,068 | 7,066 | sxzz | I just wondering why to open soo many issues. #7026 #7027 #7064 #7065 #7066 😅 | 2022-11-09T01:56:05 | 2022-11-09T01:56:05 | {} | MEMBER |
vuejs | core | 1,308,851,362 | 7,072 | ycmjason | please see #7073 | 2022-11-09T14:29:47 | 2022-11-09T14:29:47 | {} | CONTRIBUTOR |
vuejs | core | 1,309,259,530 | 1,228 | matthew-dean | Wow, this is a really serious Vue bug that prevents adoption into a modern JS workflow that uses SWC or ESBuild (or a tool that uses those, like Next.js or Vite). | 2022-11-09T19:33:12 | 2022-11-09T19:33:12 | {} | NONE |
vuejs | core | 1,309,555,336 | 7,076 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | d28e0fddf1493bea2dd617b022715f3e87d8aaa7 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-09T23:53:08 | 2022-11-09T23:53:08 | {} | NONE |
vuejs | core | 1,310,048,591 | 7,078 | sxzz | @znck Added to #7608, thanks! | 2022-11-10T10:06:39 | 2022-11-10T10:06:39 | {} | MEMBER |
vuejs | core | 1,296,273,799 | 6,993 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 23447d9b8ffa8c8656a4d617af180545ec6a887f |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-10-30T14:31:37 | 2022-11-10T10:25:07 | {} | NONE |
vuejs | core | 1,310,333,787 | 7,093 | eltorio | I created a second branch with this small diff for reproduction
non working: https://github.com/eltorio/vue-sfc-bug
working: https://github.com/eltorio/vue-sfc-bug/tree/workaround
```sh
#on branch workaround
git diff main
```
```diff
diff --git a/src/main.ts b/src/main.ts
index 79771e5..2b91996 100644
--- a... | 2022-11-10T14:09:10 | 2022-11-10T14:09:10 | {} | NONE |
vuejs | core | 1,310,349,528 | 7,093 | zhangzhonghe | Seems like vite's issue:
<img width="881" alt="屏幕截图 2022-11-10 221639" src="https://user-images.githubusercontent.com/38434641/201115501-7e238a99-02d3-4468-9c15-4d3b0d387285.png">
| 2022-11-10T14:18:51 | 2022-11-10T14:18:51 | {} | MEMBER |
vuejs | core | 1,310,447,009 | 7,094 | 1593292349 | @LinusBorg Can I share my project with you, I wrote a virtual scroll component in it, I think it should explain the problem
| 2022-11-10T15:18:12 | 2022-11-10T15:18:12 | {} | NONE |
vuejs | core | 1,306,844,747 | 7,049 | edison1105 | > > @zhangzhonghe 预期的行为是:当KeepAlive卸载的时候才卸载其内部组件。 我觉得热更新时是否调用内部组件的unmounted没那么重要,毕竟只是开发环境下的行为。
>
> 是的。但是修改后的新组件是会调用 `mounted` 的,这可能产生一些问题。比如,如果用户在 `mounted` 阶段注册了一些监听器且需要在 `unmounted` 阶段销毁的话,就会有问题,因为旧组件的 `unmounted` 没有被调用,也就无法销毁,如果这种情况下频繁热更新的话可能会导致内存泄漏。
有道理。 | 2022-11-08T08:48:37 | 2022-11-08T08:48:37 | {} | MEMBER |
vuejs | core | 1,307,314,064 | 5,754 | btea | @yyx990803 I think this fix is necessary, WDYT? | 2022-11-08T14:31:55 | 2022-11-08T14:31:55 | {} | CONTRIBUTOR |
vuejs | core | 1,308,813,940 | 7,041 | klyuevtech | @sxzz This one seems works well:
`(^|\n|;)\s*export((\s*{[\w\s_$,]*([\w_$]+\s+as\s+)+)?|(\s*{\s*)+)default((\s|,)+[\w_$\s]*)?}` | 2022-11-09T14:04:13 | 2022-11-09T14:15:12 | {} | NONE |
vuejs | core | 1,307,844,553 | 4,662 | SavkaTaras | Hey @yyx990803 ,
I hope you are well.
Could you please provide some estimates on this issue (either this will be solved or not)? Seems like a lot of people are waiting on this. We use NX and have no work around this issue.
Thank you,
Taras | 2022-11-08T21:24:15 | 2022-11-09T14:55:11 | {
"+1": 9,
"confused": 3,
"eyes": 3
} | NONE |
vuejs | core | 1,309,668,776 | 7,077 | smallnine9 | [https://cs.github.com/vuejs/core/blob/ec795bfc517266387bb21729a0b0cb4ad8256eef/.github/contributing.md#L270](url)
[https://cs.github.com/vuejs/core/blob/ec795bfc517266387bb21729a0b0cb4ad8256eef/package.json#L34](url) | 2022-11-10T02:07:27 | 2022-11-10T02:07:27 | {} | CONTRIBUTOR |
vuejs | core | 1,309,724,893 | 7,049 | shengxinjing | 有道理,不过位运算的清理用-=不太稳妥,用 a &= ~b 会好一些 | 2022-11-10T03:38:05 | 2022-11-10T03:38:05 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,309,740,725 | 7,079 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | de9161142e3b768493bea133a799c9a479117329 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-11-10T04:06:53 | 2022-11-10T04:06:53 | {} | NONE |
vuejs | core | 1,310,008,865 | 5,777 | yyx990803 | Thanks a lot for the PR - sorry I noticed this only after pushing 5a3d45ae, and realized we do need to consider import bindings as well.
Unfortunately, the diffs between the branches got really messy and it was difficult to resolve the snapshots properly, so I wasn't able to reuse this PR and had to work upon my bra... | 2022-11-10T09:34:01 | 2022-11-10T09:34:41 | {} | MEMBER |
vuejs | core | 1,308,091,546 | 7,041 | sxzz | @btea Oh, thanks! I just remembered. | 2022-11-09T01:58:25 | 2022-11-09T01:58:25 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.