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,055,926,638 | 5,184 | vishnu947 | > > I have the same issue, only in production env, cant find the reason
>
> After stucking on this problem two days. Finally solved it, although i dont konw the real reason. I have tried changing v-if to v-show, not works. And changed my template slot to div, not works. And then i found a strange thing is that when ... | 2022-03-01T22:34:43 | 2022-03-01T22:34:43 | {
"+1": 1
} | NONE |
vuejs | core | 1,056,263,338 | 4,294 | jinmayamashita | ~How about using keyword extends?~
```ts
// sharedProps.ts
export interface SharedProps {
foo: string;
bar?: number;
}
```
```vue
<script lang="ts" setup>
import { SharedProps } from "./sharedProps.ts";
interface Props extends SharedProps {}
const props = defineProps<Props>(); // The type props.fo... | 2022-03-02T05:26:57 | 2022-03-02T05:39:19 | {
"+1": 1,
"confused": 1
} | NONE |
vuejs | core | 1,056,039,692 | 5,501 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: 70fd6c0b349e3f40827f336e9088c5b3bff160d8
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/6220167d4bbc4a0008a7c1db](https://app.netlify.com/sites/vuejs-coverage/deploys/6220167d4bbc4a0008a7c1db)
😎 Browse th... | 2022-03-02T01:29:08 | 2022-03-03T01:20:34 | {} | NONE |
vuejs | core | 1,058,848,252 | 5,516 | Justineo | It's expected. You are rerendering the `HelloWorld` component when you change `c` and it creates a new object for the `formData` prop every time. | 2022-03-04T05:43:11 | 2022-03-04T05:43:11 | {} | MEMBER |
vuejs | core | 1,059,080,119 | 5,303 | kien5436 | > What you want in the end is a clone of the object hierarchy you would get as if you recursively walked the whole reactive proxy. Which a bunch of packages have already solved, like [lodash's `cloneDeep`](https://lodash.com/docs/4.17.15#cloneDeep)
>
> [See SFC Payground](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjc... | 2022-03-04T11:29:02 | 2022-03-04T11:29:02 | {
"+1": 16
} | NONE |
vuejs | core | 1,059,107,314 | 5,517 | iwusong | Reproduction https://jsfiddle.net/29xnkcoz/3/
> A real reproduction would be helpful for us, without having to search a long thread.
>
> So far, I don't really get what problem this is supposed to be solving
Vue SFC Playground https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8UGFyZW50Q29tIHYtZm9yPVw... | 2022-03-04T12:09:22 | 2022-03-04T13:47:25 | {} | CONTRIBUTOR |
vuejs | core | 1,059,950,308 | 5,530 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: aa765157593c0319d2c1b9550ce1a3b7d28877e2
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/6224a37504d64500086a8033](https://app.netlify.com/sites/vue-next-template-explorer/deploys/622... | 2022-03-06T12:05:19 | 2022-03-06T12:06:29 | {} | NONE |
vuejs | core | 1,059,950,291 | 5,530 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: aa765157593c0319d2c1b9550ce1a3b7d28877e2
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/6224a3755c84030007703e93](https://app.netlify.com/sites/vue-sfc-playground/deploys/6224a3755c84030007703e93)
... | 2022-03-06T12:05:14 | 2022-03-06T12:07:50 | {} | NONE |
vuejs | core | 1,041,030,611 | 5,435 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: c2378bd987e41c9937f27902908c28aa4f4e38f3
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/621b13a31f6e5d0008bc88eb](https://app.netlify.com/sites/vue-next-template-explorer/deploys/621... | 2022-02-16T02:30:48 | 2022-02-27T06:01:57 | {} | NONE |
vuejs | core | 1,053,257,879 | 5,435 | hengshanMWC | @LinusBorg @yyx990803 Please look over here. It's been a while | 2022-02-27T06:53:22 | 2022-02-27T06:54:20 | {} | NONE |
vuejs | core | 1,053,847,844 | 4,339 | luoguibin | Looking forward... | 2022-02-28T03:34:13 | 2022-02-28T03:34:13 | {} | NONE |
vuejs | core | 1,053,954,667 | 5,022 | LinusBorg | How have you verified? Is there a mistake or some case I missed with my test case? | 2022-02-28T07:11:28 | 2022-02-28T11:54:40 | {} | MEMBER |
vuejs | core | 1,050,615,238 | 5,485 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: 089b4c7e8ec26c3b7ca9facf6c98fd640efd655e
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/621cf9262d09f40007aaf626](https://app.netlify.com/sites/vue-sfc-playground/deploys/621cf9262d09f40007aaf626)
... | 2022-02-25T07:50:15 | 2022-02-28T16:35:08 | {} | NONE |
vuejs | core | 1,059,036,428 | 5,517 | LinusBorg | A real reproduction would be helpful for us, without having to search a long thread.
So far, I don't really get what problem this is supposed to be solving | 2022-03-04T10:28:34 | 2022-03-04T10:28:34 | {} | MEMBER |
vuejs | core | 1,059,846,631 | 5,320 | AaronBeaudoin | Fixed by #5406. | 2022-03-05T23:03:07 | 2022-03-05T23:03:07 | {} | NONE |
vuejs | core | 1,052,821,157 | 4,830 | stuta | Please print a warning if the template has html comment in it. I spent 6 hours figuring out this problem. Or remove automatically all html comments from translation templates.
I got these errors: https://github.com/vuejs/core/issues/4621. | 2022-02-27T00:03:28 | 2022-02-27T00:03:28 | {
"+1": 2
} | NONE |
vuejs | core | 1,041,030,614 | 5,435 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: c2378bd987e41c9937f27902908c28aa4f4e38f3
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/621b13a34725390008bdad62](https://app.netlify.com/sites/vue-sfc-playground/deploys/621b13a34725390008bdad62)
... | 2022-02-16T02:30:48 | 2022-02-27T06:03:41 | {} | NONE |
vuejs | core | 1,053,974,037 | 5,491 | ygj6 | duplicate of #5443 | 2022-02-28T07:41:15 | 2022-02-28T07:41:15 | {} | MEMBER |
vuejs | core | 1,054,012,024 | 5,368 | ygj6 | duplicate of #5489 | 2022-02-28T08:33:13 | 2022-02-28T08:33:13 | {} | MEMBER |
vuejs | core | 1,055,317,083 | 4,866 | llcat | > @llcat setup script 和 普通script 中的数据不互通目前看来, 一个vue文件只能写一种script, 文档中没有明确说明容易给人错觉
是的, 翻了几个issue, debug后发现确实不互通, 主要是`setup()`在options api中的行为和`<script setup>`也不一致, `setup()`中返回的变量可以读取`好像是存在setupState中的`, 文档中没有提及到不互通, 导致我误以为在option api中可以获取, 最好的实践是在一个SFC中要么用composition api, 要么用options api,不要混着用 | 2022-03-01T11:12:59 | 2022-03-01T11:12:59 | {} | NONE |
vuejs | core | 1,057,367,731 | 5,505 | LinusBorg | Nothing was forgotten. this is simply not a feature. you can't define a component's template like this - that way is semantically already used to define "slot content".
In Vue 2, that was possible by adding a special "inline-template" prop or something, but that feature was officially dropped in Vue 3. | 2022-03-02T20:54:21 | 2022-03-02T20:54:21 | {} | MEMBER |
vuejs | core | 1,058,698,512 | 4,403 | benwills | For those who run into this same situation, I have created a repository to show the scope/combinations of globalProperties and Provide/Inject and where they do and don't work when using the Composition API:
- https://github.com/benwills/vue-globalProperties-exceptions
I would be happy to submit pull requests to bot... | 2022-03-04T00:30:08 | 2022-03-04T00:30:08 | {
"+1": 1
} | NONE |
vuejs | core | 1,059,248,381 | 5,521 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: 1cc4d8e8e28c7ffb6ad5b9b71bcb9416c66ececa
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/62222c76928ae6000793588b](https://app.netlify.com/sites/vue-sfc-playground/deploys/62222c76928ae6000793588b)
... | 2022-03-04T15:12:59 | 2022-03-04T15:15:24 | {} | NONE |
vuejs | core | 1,059,855,276 | 5,525 | lidlanca | [sfc playground](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiB9IGZyb20gJ3Z1ZSdcblxuY29uc3QgdGVtcGxhdGVSZWZMaXN0ID0gcmVmKCdIZWxsbyBXb3JsZCEnKVxuPC9zY3JpcHQ+XG5cbjx0ZW1wbGF0ZT5cbiAgPGRpdiB2LWZvcj1cImkgaW4gNFwiIDprZXk9XCJpXCIgcmVmPVwidGVtcGxhdGVSZWZMaXN0XCI+PC9kaXY+XG4gIHt7dGVtcGxhdGVSZWZM... | 2022-03-06T00:00:21 | 2022-03-06T06:49:50 | {} | CONTRIBUTOR |
vuejs | core | 1,059,905,458 | 5,141 | ms-fadaei | It's `3.2.31` and the bug still remaining! @LinusBorg | 2022-03-06T06:39:56 | 2022-03-06T15:17:11 | {
"eyes": 2
} | NONE |
vuejs | core | 1,050,615,245 | 5,485 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: 089b4c7e8ec26c3b7ca9facf6c98fd640efd655e
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/621cf9269c1fee0007d51711](https://app.netlify.com/sites/vuejs-coverage/deploys/621cf9269c1fee0007d51711)
😎 Browse th... | 2022-02-25T07:50:15 | 2022-02-28T16:38:20 | {} | NONE |
vuejs | core | 1,055,558,626 | 5,499 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: 895b088328b315557860b50b9be0ec3c6e2d077f
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/621e3a27150cdc00073ae3d6](https://app.netlify.com/sites/vue-sfc-playground/deploys/621e3a27150cdc00073ae3d6)
... | 2022-03-01T15:22:20 | 2022-03-01T15:24:48 | {} | NONE |
vuejs | core | 1,059,950,290 | 5,530 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: aa765157593c0319d2c1b9550ce1a3b7d28877e2
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/6224a375bf71a000089cfac5](https://app.netlify.com/sites/vuejs-coverage/deploys/6224a375bf71a000089cfac5)
😎 Browse th... | 2022-03-06T12:05:13 | 2022-03-06T12:11:18 | {} | NONE |
vuejs | core | 1,053,636,961 | 4,344 | webarthur | Adding the `dedupe: ['vue']` to my vite.config.js solve the problem. Thanks! | 2022-02-27T18:17:51 | 2022-02-27T18:17:51 | {
"+1": 8,
"-1": 1
} | NONE |
vuejs | core | 1,055,115,561 | 5,495 | ygj6 | > @borisflesch is working on a Vue 3 compatible version of VGT . Please follow/contribute to his repository as it gets production
> ready: [vue-good-table-next](https://github.com/borisflesch/vue-good-table-next) | 2022-03-01T07:38:56 | 2022-03-01T07:38:56 | {} | MEMBER |
vuejs | core | 1,057,761,258 | 5,505 | skogowskinetfactory | Thank you for the clarification, it confused me because this is how it works for the root component, too bad that there is no section in the documentation concerning peculiarities of runtime compilation. Those subcomponents I mentioned didn't use any slots and didn't have templates so I assumed that the runtime compile... | 2022-03-03T07:42:30 | 2022-03-03T07:42:30 | {} | NONE |
vuejs | core | 1,058,809,627 | 4,339 | tony-gm | This keep-alive custom purge feature is so important for multi tab pages. And it have been discussed many time since Vue2. I don't why this is not fixed yet now. Vue3 team should really think about it.
| 2022-03-04T04:13:40 | 2022-03-04T04:16:28 | {} | NONE |
vuejs | core | 1,059,075,534 | 5,518 | posva | This is expected. Note you can directly pass an html element to mount so you can use a `document.querySelectorAll()` and loop through the elements to call mount multiple times. | 2022-03-04T11:21:54 | 2022-03-04T11:21:54 | {} | MEMBER |
vuejs | core | 1,059,791,920 | 5,524 | posva | Your reproduction is not minimal, please read and follow https://new-issue.vuejs.org/?repo=vuejs/vue-next#why-repro when reporting a bug. Most bugs should be reproducible with the [SFC Playground](https://sfc.vuejs.org). For example your repro should not include Vue class component, Vuex, or the router | 2022-03-05T16:27:29 | 2022-03-05T16:27:29 | {} | MEMBER |
vuejs | core | 1,055,164,945 | 4,967 | llcat | > Okay, but does it really make sense for this to work in the dev server, but not in a production built? Isn't that confusing?
agree,it makes me confused, maybe add tips in doc will better, actually `<script setup>` is also not same as `setup()` in options api, `setup()` return object can find in 'setupState', but `... | 2022-03-01T08:44:18 | 2022-03-01T08:44:18 | {
"+1": 1
} | NONE |
vuejs | core | 1,055,226,293 | 5,184 | lovexp1 | 我也有同样的问题 v3.2.30 | 2022-03-01T09:46:11 | 2022-03-01T09:46:11 | {} | NONE |
vuejs | core | 1,057,540,738 | 5,184 | superdiazzz | I have same issue today, please anyone explain how to solve | 2022-03-03T00:32:28 | 2022-03-03T00:32:28 | {} | NONE |
vuejs | core | 1,047,894,037 | 5,472 | netlify[bot] | ❌ Deploy Preview for *vuejs-coverage* failed.
🔨 Explore the source changes: 414cf91ddd0c67a0bb3d1b9d730e2327d34371b2
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/62220dcdfe83880007903cd6](https://app.netlify.com/sites/vuejs-coverage/deploys/62220dcdfe83880007903cd6)
| 2022-02-22T15:09:45 | 2022-03-04T13:04:18 | {} | NONE |
vuejs | core | 1,109,730,607 | 5,809 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | b4732dc63faac1b9909a3c68cecba6ce9a929c1e |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-04-26T12:23:49 | 2022-04-26T15:17:20 | {} | NONE |
vuejs | core | 1,110,555,773 | 4,809 | productdevbook | when add ? | 2022-04-27T05:23:25 | 2022-04-27T05:23:25 | {} | CONTRIBUTOR |
vuejs | core | 1,110,853,640 | 5,813 | LinusBorg | both variations you show here behave absolutely identical.The difference is between `<Child v-slot:default>` and `<template v-slot:default>`.
If you want me to explain more, please provide a playground with a demo of the exact problem you are asking about. | 2022-04-27T10:46:28 | 2022-04-27T10:46:28 | {} | MEMBER |
vuejs | core | 1,113,090,757 | 5,832 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 15d5986fed9643a094c2730cc1d188e965ffc3c9 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-04-29T09:15:30 | 2022-04-29T09:20:05 | {} | NONE |
vuejs | core | 1,110,480,043 | 5,278 | kamechb | @CamilleDrapier there is a memory leak issue for images with lazy loading in browsers based on chromium. See https://bugs.chromium.org/p/chromium/issues/detail?id=1213045
https://groups.google.com/a/chromium.org/g/blink-reviews/c/-NRWulyMsR8?pli=1 | 2022-04-27T03:00:44 | 2022-04-27T03:00:44 | {
"+1": 1
} | NONE |
vuejs | core | 1,110,620,608 | 5,813 | w582745483 | in the Dialog Component log slot.default is not null,but just like your example ,use named slot can work,I want to know why? | 2022-04-27T07:03:00 | 2022-04-27T07:03:00 | {} | NONE |
vuejs | core | 1,110,873,212 | 5,813 | liulinboyi | >
> I don't think you understand me `1:<template #default> <div v-if="false"/> </template> ` `2:<template #name> <div v-if="false"/> </template> ` Both of the above:the first one slot.default is not null,the second slot.name is null I just want to know why the vnode work on defaut slot,but not work on the named... | 2022-04-27T11:09:48 | 2022-04-27T11:10:12 | {} | MEMBER |
vuejs | core | 1,110,902,228 | 5,813 | w582745483 | [App.vue](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBuYW1lPVwiQXBwXCI+XG5pbXBvcnQgRGlhbG9nIGZyb20gJy4vRGlhbG9nLnZ1ZSdcbjwvc2NyaXB0PlxuXG48dGVtcGxhdGU+XG48RGlhbG9nPlxuXHQ8dGVtcGxhdGUgdi1pZj1cImZhbHNlXCI+PC90ZW1wbGF0ZT5cbiAgPHRlbXBsYXRlICNoZWFkZXIgdi1pZj1cImZhbHNlXCI+PC90ZW1wbGF0ZT5cbjwvRGlhbG9nPlxuPC90ZW1... | 2022-04-27T11:43:59 | 2022-04-27T11:49:57 | {} | NONE |
vuejs | core | 1,110,945,059 | 5,813 | w582745483 | <div v-if="false"> <template v-if="false">
the former can leave a placeholder in the vdom,but the latter can not placeholder?so that if use v-if in div,the slot is not defined | 2022-04-27T12:32:27 | 2022-04-27T12:32:27 | {} | NONE |
vuejs | core | 1,111,339,099 | 5,818 | liulinboyi | ### It will be reactive in this example
```javascript
// Using composition API with no script setup
const myNestedObject = toRef(props.myProp, 'myNestedObject')
const myNestedProperty = computed(() => myNestedObject.value.property)
// ↑ this currently will reactive whenever the props.myProp will ... | 2022-04-27T18:23:30 | 2022-04-27T18:23:30 | {} | MEMBER |
vuejs | core | 1,112,823,135 | 5,828 | edison1105 | `extends: ElTable`
NOT
`extends: [ElTable]` | 2022-04-29T02:30:20 | 2022-04-29T02:30:20 | {} | MEMBER |
vuejs | core | 1,112,827,478 | 5,828 | webtj |
> `extends: ElTable` NOT `extends: [ElTable]`
thks, My custom component is working,but use ElTable error
I think I'm going to consult element-plus
| 2022-04-29T02:43:37 | 2022-04-29T02:43:37 | {} | NONE |
vuejs | core | 1,113,101,226 | 5,546 | iwusong | > duplicate of #5523
these are a little different | 2022-04-29T09:21:44 | 2022-04-29T09:21:44 | {} | CONTRIBUTOR |
vuejs | core | 1,106,436,398 | 5,761 | yuwu9145 | I guess we need to clarify expect behaviour first, is it supposed to be: ??
```
<TransitionGroup>
<template v-for="(item, idx) of ['A', 'B']" :key="item">
<Item>{{ idx }}: {{ item }}1</Item> // key: B0
<Item>{{ idx }}: {{ item }}2</Item> // key: B1
<Item v-if="idx < 1">{{ idx }}: {{ item }... | 2022-04-22T11:49:15 | 2022-04-26T20:16:02 | {} | CONTRIBUTOR |
vuejs | core | 1,109,216,073 | 5,806 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 5164e994145601484a2f107ac15dec49e07db26a |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-04-26T01:56:07 | 2022-04-27T05:40:43 | {} | NONE |
vuejs | core | 1,111,796,131 | 5,822 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 419ac64e61805b23857c0b0de756fb4a12bef07e |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-04-28T06:26:49 | 2022-04-28T06:32:42 | {} | NONE |
vuejs | core | 1,113,111,682 | 5,764 | liulinboyi | ### Only lang="ts" is supported for <script> blocks.

### [Example](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPCEtLSA8c2NyaXB0IGxhbmc9XCJ0c1wiIHNldHVwPiAgV09SS1MgLS0+XG48c2NyaXB0IGxhbmc9XCJ0c3hcIiBzZXR1cD5cbm... | 2022-04-29T09:35:17 | 2022-04-29T09:35:17 | {} | MEMBER |
vuejs | core | 1,110,494,246 | 5,812 | w582745483 | have another issue trace | 2022-04-27T03:28:13 | 2022-04-27T03:28:13 | {} | NONE |
vuejs | core | 1,109,216,077 | 5,806 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 5164e994145601484a2f107ac15dec49e07db26a |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-04-26T01:56:07 | 2022-04-27T05:39:26 | {} | NONE |
vuejs | core | 1,110,994,384 | 4,092 | paya-cz | This should be reopened. I use the latest Volar yet I do not have any type interference for slot props. I get type `any` just like the OP did. | 2022-04-27T13:20:32 | 2022-04-27T13:20:32 | {
"+1": 3
} | NONE |
vuejs | core | 1,111,766,723 | 5,820 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | fcca990647720b47330ec551275afa4da82dc893 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-04-28T05:33:42 | 2022-04-28T05:39:32 | {} | NONE |
vuejs | core | 1,112,874,897 | 5,823 | yxw007 | > Hello @yxw007 Here is the node version detail,
>
> **node version - v16.14.2 npm - 8.7.0**
>
> I aslo tried removing the node_modules folder and package-lock.json file. Still I'm getting the same issue
Error: EPERM: operation not permitted, Follow this tip to check your project directory permissions | 2022-04-29T04:51:12 | 2022-04-29T04:51:12 | {} | NONE |
vuejs | core | 1,112,907,562 | 5,830 | edison1105 | this has nothing to do with `zoom` thing. | 2022-04-29T06:09:16 | 2022-04-29T06:09:16 | {} | MEMBER |
vuejs | core | 1,113,039,583 | 5,748 | WebMechanic | there's also `v-else` and if your layouts are that complex, maybe break them down into separate (child-) components | 2022-04-29T08:42:38 | 2022-04-29T08:42:38 | {} | NONE |
vuejs | core | 1,110,605,693 | 5,813 | w582745483 | ok,thxNamed Slots can solve this problem | 2022-04-27T06:43:51 | 2022-04-27T06:43:51 | {} | NONE |
vuejs | core | 1,110,612,857 | 5,813 | liulinboyi | >
> why the default slot can not work?
why white the slot in the App Component(root component) ? | 2022-04-27T06:53:06 | 2022-04-27T06:54:49 | {} | MEMBER |
vuejs | core | 1,110,619,427 | 5,813 | w582745483 | 
| 2022-04-27T07:01:36 | 2022-04-27T07:01:36 | {} | NONE |
vuejs | core | 1,110,628,357 | 5,814 | kikyous | What you need is:
tailwind
windicss
unocss | 2022-04-27T07:11:29 | 2022-04-27T07:11:29 | {} | NONE |
vuejs | core | 1,110,642,063 | 5,814 | coder-hxl | 有一个css库就是类似于这样的写法 | 2022-04-27T07:27:04 | 2022-04-27T07:27:04 | {} | NONE |
vuejs | core | 1,111,271,234 | 1,679 | jiuneypachevitch | Hi @gregg-cbs!
I using Vue 3.2.32 standalone and works fine with:
```
<script src="https://unpkg.com/vue@3.2.32/dist/vue.global.prod.js"></script>
<script>
const app = Vue.createApp({
name: "upload",
data: () => ({
stock: {},
}),
})
// set delimiters here
app.config.compilerOptions.de... | 2022-04-27T17:20:22 | 2022-04-27T17:25:19 | {
"+1": 2
} | NONE |
vuejs | core | 1,111,403,231 | 5,818 | LinusBorg | Yeah, I'm not really seeing the big use case here. usually, data you get from a prop will already be reactive anyway, and in these cases, it already works, as demonstrated.
We would need more explicit examples of when/where users now might feel limited, and how a new functionality might improve the situation. | 2022-04-27T19:34:31 | 2022-04-27T19:34:31 | {} | MEMBER |
vuejs | core | 1,111,540,778 | 5,765 | qxygene | any update? | 2022-04-27T22:27:02 | 2022-04-27T22:27:02 | {} | NONE |
vuejs | core | 1,112,062,071 | 5,824 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 3af421cef09d4124012d57a3677cf474ab461c5d |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-04-28T10:52:45 | 2022-04-28T12:17:57 | {} | NONE |
vuejs | core | 1,112,208,241 | 5,825 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-next-template-explorer* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | a41c011eca39966cf5ba9ad8b9c71f6cd75af639 |
|<span aria-hidden="true">🔍</span> Latest deploy l... | 2022-04-28T13:31:38 | 2022-04-28T13:32:17 | {} | NONE |
vuejs | core | 1,112,607,097 | 5,826 | LinusBorg | Please use chat.vuejs.org or stack overflow for questions. | 2022-04-28T20:05:18 | 2022-04-28T20:05:18 | {} | MEMBER |
vuejs | core | 1,112,916,857 | 5,830 | mobayen | @liulinboyi
But Volar (VSCode extension) complains about the Props
Moving the interface is recommended by Volar creator:
https://github.com/johnsoncodehk/volar/issues/1232#issuecomment-1108042567 | 2022-04-29T06:28:19 | 2022-04-29T06:28:19 | {} | NONE |
vuejs | core | 1,112,918,291 | 5,830 | mobayen | @edison1105
You're right, it doesn't on the playground. However on my local it does | 2022-04-29T06:31:11 | 2022-04-29T06:31:11 | {} | NONE |
vuejs | core | 1,112,949,980 | 5,827 | LinusBorg | the v-show directive interoperates with the transition. You can see the gist of it here:
https://github.com/vuejs/core/blob/4a3237ad9300693e465f82a6be3552565a1c4be3/packages/runtime-dom/src/directives/vShow.ts#L24-L33
you can manually apply the v-show directive yourself, taking hints from the compiler output, i.e... | 2022-04-29T07:24:40 | 2022-04-29T07:26:51 | {
"+1": 1,
"heart": 2
} | MEMBER |
vuejs | core | 1,113,114,766 | 5,764 | DrJume | 

| 2022-04-29T09:39:08 | 2022-04-29T09:39:08 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,110,207,315 | 5,761 | yuwu9145 | explicit key on child v-if node is nice workaround, just need to be aware that a custom key of "number type" on v-if could still be duplicated with other default index key because the fundamental issue is caused by "number type keys on v-if node".
So using types other than number should be good enough 👍 | 2022-04-26T20:14:50 | 2022-04-27T04:44:03 | {} | CONTRIBUTOR |
vuejs | core | 1,110,637,182 | 5,813 | w582745483 |
I just want to know why use default slot the console in my Dialog component is not null

| 2022-04-27T07:21:20 | 2022-04-27T07:21:20 | {} | NONE |
vuejs | core | 1,110,651,960 | 5,814 | Justineo | It's out of the scope of Vue core. As @kikyous pointed out there are already plenty to third party tools for your use case. | 2022-04-27T07:36:23 | 2022-04-27T07:36:23 | {} | MEMBER |
vuejs | core | 1,110,748,256 | 5,813 | LinusBorg | Because the v-if is ***on** the `<template v-slot:name>`*, instead of *inside of the slot content* | 2022-04-27T09:00:31 | 2022-04-27T09:00:56 | {} | MEMBER |
vuejs | core | 1,110,972,064 | 5,813 | LinusBorg | ```html
<Child>
<template #default v-if="someCondition">
<div>whatever</div>
</template>
</Child>
```
The above will result in `slot.default` being undefined if someCondition is falsy, because the parent doesn't pass a slot function for the default slot to the child.
```html
<Child>
<template v-i... | 2022-04-27T13:01:30 | 2022-04-27T13:01:30 | {} | MEMBER |
vuejs | core | 1,111,017,727 | 5,813 | w582745483 | If I don't write #default but use v-if in template tag,Shouldn't it be added #default by default | 2022-04-27T13:40:28 | 2022-04-27T13:41:11 | {} | NONE |
vuejs | core | 1,113,113,122 | 5,764 | DrJume | Yeah in the SFC Playground only `lang="ts"` is allowed, but in a local environment with Vite and `plugin-vue` and `plugin-vue-jsx` is it possible. It works also on StackBlitz (see repro above). | 2022-04-29T09:37:09 | 2022-04-29T09:37:09 | {} | CONTRIBUTOR |
vuejs | core | 1,110,091,337 | 5,810 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | dc5ad36a2b0a49aa93cf16252257071c92bc90e9 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-04-26T17:58:01 | 2022-04-27T01:36:08 | {} | NONE |
vuejs | core | 1,110,624,681 | 5,814 | Dedicatus546 | maybe you can use [`windicss`](https://windicss.org/integrations/vite.html). vite has corresponding plugin `vite-plugin-windicss` | 2022-04-27T07:07:26 | 2022-04-27T07:07:26 | {} | NONE |
vuejs | core | 1,111,796,140 | 5,822 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 419ac64e61805b23857c0b0de756fb4a12bef07e |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-04-28T06:26:49 | 2022-04-28T06:29:47 | {} | NONE |
vuejs | core | 1,110,923,456 | 5,813 | liulinboyi | >
> [App.vue](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBuYW1lPVwiQXBwXCI+XG5pbXBvcnQgRGlhbG9nIGZyb20gJy4vRGlhbG9nLnZ1ZSdcbjwvc2NyaXB0PlxuXG48dGVtcGxhdGU+XG48RGlhbG9nPlxuXHQ8dGVtcGxhdGUgdi1pZj1cImZhbHNlXCI+PC90ZW1wbGF0ZT5cbiAgPHRlbXBsYXRlICNoZWFkZXIgdi1pZj1cImZhbHNlXCI+PC90ZW1wbGF0ZT5cbjwvRGlhbG9... | 2022-04-27T12:09:49 | 2022-04-27T12:26:25 | {} | MEMBER |
vuejs | core | 1,111,796,137 | 5,822 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 419ac64e61805b23857c0b0de756fb4a12bef07e |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-04-28T06:26:49 | 2022-04-28T06:27:39 | {} | NONE |
vuejs | core | 1,111,994,128 | 5,818 | yxw007 | > Actually I wanted to say that the `myNestedObject` wasn't reactive, `myNestedProperty` is indeed. I was able to reproduce what happened on my App [here](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiwgcmVhY3RpdmUgfSBmcm9tICd2dWUnXG5pbXBvcnQgQ29tcCBmcm9tICcuL0NvbXAudnVlJ1xuXG5jb25zdCBtc2... | 2022-04-28T09:53:34 | 2022-04-28T09:55:13 | {} | NONE |
vuejs | core | 1,112,955,585 | 5,818 | LinusBorg | Rather than that, just use a computed property, that's why we have them. Or use toRef on the prop, instead of a nested property:
[Playground](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiwgcmVhY3RpdmUgfSBmcm9tICd2dWUnXG5pbXBvcnQgQ29tcCBmcm9tICcuL0NvbXAudnVlJ1xuXG5jb25zdCBtc2cgPSByZWYo... | 2022-04-29T07:30:21 | 2022-04-29T07:30:21 | {} | MEMBER |
vuejs | core | 1,113,090,760 | 5,832 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 15d5986fed9643a094c2730cc1d188e965ffc3c9 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-04-29T09:15:30 | 2022-04-29T09:21:36 | {} | NONE |
vuejs | core | 1,110,705,032 | 5,813 | w582745483 | why the named slot did not leave vnode? | 2022-04-27T08:26:45 | 2022-04-27T08:26:45 | {} | NONE |
vuejs | core | 1,111,673,738 | 5,819 | edison1105 | @hchlq PR welcome. | 2022-04-28T02:29:19 | 2022-04-28T02:29:19 | {} | MEMBER |
vuejs | core | 1,110,611,271 | 5,813 | w582745483 | why the default slot can not work? | 2022-04-27T06:51:00 | 2022-04-27T06:51:00 | {} | NONE |
vuejs | core | 1,110,617,260 | 5,814 | mrbin1573 | > scss
scss只是css预处理,还是需要自己写,或者全局定义一些class;最理想的是像写内联style一样写class,自动生成css | 2022-04-27T06:58:50 | 2022-04-27T06:58:50 | {} | NONE |
vuejs | core | 1,111,012,286 | 5,813 | w582745483 | both <template #default v-if="false"> and <template v-if="false"> are treated as default slot,so that I think the behavior should be the same,Or there shouldn't be have a default slot,It's all called named slot | 2022-04-27T13:35:47 | 2022-04-27T13:38:16 | {} | NONE |
vuejs | core | 1,112,208,242 | 5,825 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | a41c011eca39966cf5ba9ad8b9c71f6cd75af639 |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-04-28T13:31:38 | 2022-04-28T13:32:24 | {} | NONE |
vuejs | core | 1,112,794,450 | 5,819 | hunyan-io |
> Personally, I think the forAliasRE can be changed
>
> ```js
> // origin
> const forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/
>
> // suggestion
> const forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+([^\s]+)/
> ```
I think this causes issues with expressions that contain spaces after in/of. You can try wit... | 2022-04-29T01:11:50 | 2022-04-29T01:11:50 | {} | NONE |
vuejs | core | 1,110,878,841 | 5,813 | w582745483 | the parent Component is like this
`<template>
<slot v-if="slotDefault"></slot>
</template>`
`<script>
import {useSlots } from 'vue'
const slotDefault = useSlots().default;
console.log('slotDefault', slotDefault);
// if use deafult slot log is not null,but use named slot log is null
</script>
` | 2022-04-27T11:16:23 | 2022-04-27T11:17:42 | {} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.