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,482,431,641 | 7,946 | nestle49 | A Galaxy far, far away... | 2023-03-24T08:31:53 | 2023-03-24T08:31:53 | {} | NONE |
vuejs | core | 1,482,493,725 | 7,939 | wenfangdu | One of the first things we do when we encounter bugs is to console log the errors, also, the first thing in programming that we learn is to print something. It's just ridiculous such a fundamental thing can't used be in the template, we do console log in JSX and in the Svelte template all the time, and it doesn't hurt ... | 2023-03-24T09:23:18 | 2023-03-24T09:23:18 | {
"+1": 3,
"eyes": 1
} | NONE |
vuejs | core | 1,482,903,601 | 5,318 | yonathan9669 | If it helps for anyone out there, I figure a solution out of this using the following approach.
- Stop using watchers. This makes me manually ensure the propagation of the changes, to do so I centralized the values mutation in the root, and all the required changes were pushed back to its parent using a `{path: stri... | 2023-03-24T14:33:09 | 2023-03-24T14:33:43 | {} | NONE |
vuejs | core | 1,486,157,249 | 7,428 | sxzz | @yyx990803 Not only for Reactivity Transform, but also apply for SFC file. | 2023-03-28T03:38:36 | 2023-03-28T03:38:36 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,486,543,776 | 7,760 | baiwusanyu-c | cc @yyx990803 😭 | 2023-03-28T09:46:22 | 2023-03-28T09:46:22 | {} | MEMBER |
vuejs | core | 1,487,462,747 | 5,752 | skirtles-code | I think this may have introduced a regression: #7973. I'm not sure of the cause, but testing locally it seems to work fine prior to this being merged. | 2023-03-28T19:09:25 | 2023-03-28T19:09:25 | {
"+1": 1,
"eyes": 1
} | CONTRIBUTOR |
vuejs | core | 1,488,801,586 | 7,966 | wucdbm | Sounds to me that this could be somehow related to https://github.com/vuejs/core/issues/7086
Basically, in place of a <template /> after SSR it tries to render another set of elements, but the template tag does not really have a tag, so `parent` is null or undefined.
It could be similar behaviour with transition? | 2023-03-29T15:03:42 | 2023-03-29T15:03:42 | {} | NONE |
vuejs | core | 1,482,878,744 | 5,836 | zyxkad | Hello, could teleport support `TransitionGroup`? Now I'm doing this, but the animation didn't work
```vue
<div class="pinned">
<TransitionGroup id="id" name="animation-class">
<TransitionGroup/>
</div>
<div>
<Teleport :disabled="!shouldPin" v-if="shouldShow"></Teleport>
</div>
``` | 2023-03-24T14:16:31 | 2023-03-24T14:16:31 | {
"+1": 1
} | NONE |
vuejs | core | 1,483,930,493 | 6,690 | xieyuheng | @tachibana-shin
I found that I can define a component to do the following (not as ideal as a proper `v-scope`).
`components/Scope.vue`:
```vue
<script setup lang="ts">
import { reactive } from 'vue'
defineProps<{ scope: any }>()
</script>
<template>
<slot :scope="reactive(scope)" />
</template>
`... | 2023-03-25T21:51:50 | 2023-03-25T21:57:24 | {} | NONE |
vuejs | core | 1,484,103,897 | 7,959 | remcohaszing | Good to know!
In that case, `jsx` should look like this:
```js
export function jsx(type, { children, ...props }, key) {
return h(type, { ...props, key }, children)
}
```
or, based on https://github.com/vuejs/core/pull/7959/files#r1148544565:
```js
function jsx(type, props, key) {
const { children ... | 2023-03-26T13:55:28 | 2023-03-26T13:55:28 | {} | CONTRIBUTOR |
vuejs | core | 1,487,994,646 | 7,979 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4550781479)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4550781479/jobs/8024129093) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4550781479/jobs/8024... | 2023-03-29T06:03:45 | 2023-03-29T08:07:12 | {} | CONTRIBUTOR |
vuejs | core | 1,488,265,947 | 7,979 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4552486243)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4552486243/jobs/8027884680) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4552486243/jobs/8027... | 2023-03-29T09:35:33 | 2023-03-29T09:46:50 | {} | CONTRIBUTOR |
vuejs | core | 1,488,339,428 | 7,979 | yyx990803 | /ecosystem-ci run | 2023-03-29T10:27:42 | 2023-03-29T10:27:42 | {} | MEMBER |
vuejs | core | 1,490,284,591 | 7,982 | jacekkarczmarczyk | One more question - what about dynamic slot names? For example in many table components you can have slots related to table columns, `item.foo`, `item.bar` etc. Would it be something like:
```ts
const slots = defineSlots<{
[name in 'item.${string}']?: { title: string }; // not even sure if the syntax is valid
... | 2023-03-30T13:14:20 | 2023-03-30T13:14:20 | {
"+1": 3
} | CONTRIBUTOR |
vuejs | core | 1,482,221,968 | 7,086 | wucdbm | I mean, I just discovered another case where after a rendering mismatch, it crashes hard and it's shit out of luck
I think this needs attention | 2023-03-24T04:09:27 | 2023-03-24T04:09:27 | {} | NONE |
vuejs | core | 1,482,695,860 | 7,939 | smallnine9 | > But I want know does console work in render() function? like ` h('div', {onClik: console.log('hi')}, 'hi')`
yes it can, but it should be () => console.log('hi'),
so, it's just a `have or not have` feature for compiler | 2023-03-24T12:05:40 | 2023-03-24T12:05:40 | {} | CONTRIBUTOR |
vuejs | core | 1,484,914,852 | 6,690 | xieyuheng | @tachibana-shin You are right, let's hope the core team can merge this soon :) https://github.com/vuejs/core/pull/7218 | 2023-03-27T10:42:33 | 2023-03-27T10:42:33 | {} | NONE |
vuejs | core | 1,475,690,955 | 7,737 | haoqunjiang | ~~`<input>` can mean anything, e.g. `number` or `boolean`, so it makes sense to be typed as `any`.~~
On the other hand, `<textarea>` is strictly limited to texts, so I don't think it needs to accept `any`. You can set it to `undefined` anyway.
Some references:
TypeScript DOM types: https://github.com/microsoft/Typ... | 2023-03-20T06:26:37 | 2023-03-27T11:32:39 | {} | MEMBER |
vuejs | core | 1,488,350,688 | 7,661 | nestle49 | @yyx990803
Can we expect to fix at least critical problems of core in the near future?
| 2023-03-29T10:36:05 | 2023-03-29T10:36:05 | {} | NONE |
vuejs | core | 1,489,754,371 | 6,876 | sxzz | #7986
We have deprecated the Reactivity Transform and extracted the feature of reactive props destructuring to another option. This means that we no longer support `$$`, and users must use `computed(() => foo)` themselves. As a result, this issue has been bypassed. | 2023-03-30T06:14:49 | 2023-03-30T06:14:49 | {} | MEMBER |
vuejs | core | 1,490,051,208 | 7,982 | pikax | Not a fan of the tuple syntax, because it does not accurate describes the javascript behaviour:
```html
<template>
<a>
<slot title="hello" something="sss"/>
</a>
</template>
```
The slot will be called with an `object`
```js
const __sfc__ = {}
import { renderSlot as _renderSlot, openBlock as _openB... | 2023-03-30T10:17:06 | 2023-03-30T10:17:49 | {
"eyes": 1
} | MEMBER |
vuejs | core | 1,456,123,612 | 7,836 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4343864557)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4343864557/jobs/7586447442) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4343864557/jobs/7586... | 2023-03-06T13:20:20 | 2023-03-23T18:04:51 | {} | CONTRIBUTOR |
vuejs | core | 1,482,468,041 | 7,940 | edison1105 | see https://github.com/vuejs/core/pull/6508 | 2023-03-24T09:03:33 | 2023-03-24T09:03:33 | {} | MEMBER |
vuejs | core | 1,482,632,146 | 7,939 | smallnine9 | But I want know does console work in render() function? like
` h('div', {onClik: console.log('hi')}, 'hi')` | 2023-03-24T11:09:44 | 2023-03-24T11:09:44 | {} | CONTRIBUTOR |
vuejs | core | 1,484,025,334 | 7,083 | yyx990803 | Closing in favor of https://github.com/vuejs/core/pull/7958 - restructured to `vue/jsx-runtime` so that it can be used with the more ergonomic `@jsxImportSource`, also not relying on importing a transitive dep (which can be problematic with strict package managers). | 2023-03-26T08:01:36 | 2023-03-26T08:02:14 | {} | MEMBER |
vuejs | core | 1,425,695,806 | 5,752 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4143574483)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4143574483/jobs/7184726394) | :x: failure |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/4143574483/jobs/7184726... | 2023-02-10T11:46:20 | 2023-03-28T00:43:30 | {} | CONTRIBUTOR |
vuejs | core | 1,486,155,701 | 7,428 | yyx990803 | Closing due to reactivity transform deprecation. | 2023-03-28T03:36:53 | 2023-03-28T03:36:53 | {} | MEMBER |
vuejs | core | 1,486,162,738 | 7,068 | sxzz | @yyx990803 Done https://github.com/vitejs/vite-plugin-vue/pull/136 | 2023-03-28T03:49:19 | 2023-03-28T03:49:19 | {} | MEMBER |
vuejs | core | 1,489,997,273 | 7,987 | edison1105 | Could you provide a runnable minimal reproduction? | 2023-03-30T09:36:48 | 2023-03-30T09:36:48 | {} | MEMBER |
vuejs | core | 1,490,217,106 | 7,982 | pikax | I don't fully agree just because it would allow people to force users to declare a slot.
using the same example
```html
<template>
<comp v-slot="a">
</comp>
</template>
```
The typechecking should warn that the slot default is required as the user should be passing it. Like how required `props` work. ... | 2023-03-30T12:28:07 | 2023-03-30T12:28:07 | {} | MEMBER |
vuejs | core | 1,481,668,495 | 7,949 | sxzz | /ecosystem-ci run | 2023-03-23T18:05:57 | 2023-03-23T18:05:57 | {} | MEMBER |
vuejs | core | 1,483,959,985 | 7,218 | edison1105 | > @edison1105
>
>
>
> I found that I can use component to do the following:
>
>
>
> `components/Scope.vue`:
>
>
>
> ```vue
>
> <script setup lang="ts">
>
> import { reactive } from 'vue'
>
>
>
> defineProps<{ scope: any }>()
>
> </script>
>
>
>
> <template>
>
> <slot :scope="reactive(scope)" />
> ... | 2023-03-26T00:50:15 | 2023-03-26T00:50:15 | {} | MEMBER |
vuejs | core | 1,483,960,135 | 7,218 | edison1105 | > Will the language server be updated to integrate `v-scope` with TypeScript?
Not sure | 2023-03-26T00:51:32 | 2023-03-26T00:51:32 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,486,854,584 | 7,969 | HonzaKubita | That's why is it a feature request, I think you could say that you can use high level stuff about everything. The thing is (as I pointed out in the request) that vue already almost has this functionality just doesn't allow to make user defined modifiers. And I want to be able to use this without having to use component... | 2023-03-28T13:06:45 | 2023-03-28T13:06:45 | {} | NONE |
vuejs | core | 1,487,988,142 | 7,979 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4550734330)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4550734330/jobs/8024031360) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4550734330/jobs/8024... | 2023-03-29T05:56:17 | 2023-03-29T06:49:07 | {} | CONTRIBUTOR |
vuejs | core | 1,489,192,885 | 2,027 | jonah-butler | On another note, this error popped up for me today and it was inside an Ionic/Vue3 project. And it was related to using an Ionic component - in my case the IonChip component - without importing it. So its reference in my template without the import was the culprit. | 2023-03-29T19:37:48 | 2023-03-29T19:37:48 | {} | NONE |
vuejs | core | 1,489,342,727 | 5,220 | roydukkey | > @LinusBorg any suggestion how to do this on click events with modifier?
>
> ```vue
> <MyComponent @click:someModifier="doSomething"/>
> ```
@jaketig @LinusBorg Have either of you found a solution for modifiers? | 2023-03-29T21:21:57 | 2023-03-29T21:22:20 | {} | NONE |
vuejs | core | 1,490,180,209 | 7,992 | yyx990803 | Codegen support added in https://github.com/vuejs/core/commit/ef73ea53eaf853d43e70946d2d448ae8c0a83e4f | 2023-03-30T11:59:47 | 2023-03-30T11:59:47 | {} | MEMBER |
vuejs | core | 1,463,361,196 | 7,853 | sxzz | /ecosystem-ci run | 2023-03-10T07:00:52 | 2023-03-10T07:00:52 | {} | MEMBER |
vuejs | core | 1,463,477,592 | 7,872 | edison1105 | /ecosystem-ci run | 2023-03-10T08:56:25 | 2023-03-10T08:56:25 | {} | MEMBER |
vuejs | core | 1,463,891,462 | 7,853 | simlevesque | I'm familiar with Vueuse, I'll try to find the problem and fix it with them. | 2023-03-10T14:34:46 | 2023-03-10T14:34:46 | {
"heart": 1
} | CONTRIBUTOR |
vuejs | core | 1,464,817,313 | 7,875 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4390487787)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4390487787/jobs/7688967793) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4390487787/jobs/7688... | 2023-03-11T03:59:53 | 2023-03-11T04:06:42 | {} | CONTRIBUTOR |
vuejs | core | 1,466,816,418 | 7,889 | LinusBorg | This is expected behavior.
We understand it can lead to some confusing situations in edge cases, but it's the way it was designed.
I also don't see real use cases where this could happen except when mistakenly adding attributes that should not have been added in the first place. Would be interested in examples w... | 2023-03-13T19:23:27 | 2023-03-13T19:23:27 | {} | MEMBER |
vuejs | core | 1,467,302,588 | 7,876 | baiwusanyu-c | wow !The logError method does not throw an exception error in the production environment, but only prints the error. I think this is done to avoid the exception error throwing and causing the program to stop or crash. Perhaps vue can add an option for the user to determine whether to throw an exception error in the pro... | 2023-03-14T03:39:01 | 2023-03-14T03:39:01 | {} | MEMBER |
vuejs | core | 1,470,299,085 | 7,255 | LinusBorg | Closing as a reproduction still hasn't been provided | 2023-03-15T15:54:39 | 2023-03-15T15:54:39 | {} | MEMBER |
vuejs | core | 1,470,827,936 | 7,900 | konsbe | @skirtles-code thanks mate for the fast reply! | 2023-03-15T20:54:57 | 2023-03-15T20:54:57 | {} | NONE |
vuejs | core | 1,458,285,751 | 7,842 | d0rsha | I agree with you if the parent that holds the template needs to re-render then yes, the template should re-render.
But if a component inside a slot needs to re-render, then I think it's counter intuitive that the parent component which holds the template re-render as well. In my example _Comp_ is the parent componen... | 2023-03-07T14:37:11 | 2023-03-07T14:39:00 | {} | NONE |
vuejs | core | 1,466,927,061 | 7,889 | vzotov | My point is that if internal component has such structure the grandparent can rewrite any of props for the internal component even if they are not meant to be public.
I expect that grandparent, whatever we pass in its attributes, should never affect internal logic of the component because of a naming collision with ... | 2023-03-13T20:42:11 | 2023-03-13T20:44:28 | {
"+1": 4
} | NONE |
vuejs | core | 1,469,747,809 | 4,737 | wcycode | in my case,i use the following methods to solve
```
render () {
return disabled ? children : <Teleport>{children}</<Teleport>
}
``` | 2023-03-15T10:28:52 | 2023-03-15T10:28:52 | {} | NONE |
vuejs | core | 1,459,621,711 | 7,857 | baiwusanyu-c | This may not be a `bug` of `vue`, because after I adjusted `windicss`(delete `vue-cli-plugin-windicss` and delete import 'windicss' ), it was normal, maybe this is a problem of `vue-cli-plugin-windicss` | 2023-03-08T06:43:00 | 2023-03-08T06:44:18 | {} | MEMBER |
vuejs | core | 1,464,880,794 | 7,879 | wushilei111 | ```
<script setup>
import { ref } from 'vue'
const open = ref(false)
const windowWith = ref('300px')
</script>
<template>
<button @click="open = true">Open Modal</button>
<Teleport to="body" :disabled = "true">
<div v-if="open" class="modal">
<p>Hello from the modal!</p>
<button @click="ope... | 2023-03-11T10:29:53 | 2023-03-11T10:29:53 | {} | NONE |
vuejs | core | 1,464,934,675 | 7,875 | browsnet | With regards to Naive-UI and Nuxt, it seems likely that the issue is related to their own support for the current version of Vue 3.3.0-alpha.4 and not caused by my PR.
However, I have fixed the issue that occurred in vue-macros. As for the issue with Vuetify, I found that it was using an incorrect syntax in one of i... | 2023-03-11T15:26:48 | 2023-03-11T15:26:48 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 1,465,668,156 | 7,818 | LinusBorg | So I think that settles it - this is just a limitation of how TS works. | 2023-03-13T07:59:29 | 2023-03-13T07:59:29 | {} | MEMBER |
vuejs | core | 1,466,885,534 | 7,889 | vzotov | PTAL [here](https://sfc.vuejs.org/#eNqNkk1OwzAQha8yeBOQaLI3oRLdIbFAgqU3aXCKS2Jb9gSEopyBE7DjEJyHC3AFxnZKf1QhVonfeN68+eSBXVmbP/eScVb62imL4CX2di40gOqscQjXtdGLHtFoaJzpIMuLrRSaswuhyyK1UyMdUHa2rVBGm3LHABW28lKw+/BNdrZyUqNgUNDtsvhtZecsBZh1lc3X3mgKOQRDMRW8YByiEjQKEs6CPSJaz4vCN3VIt/a5cauC/nLXa1SdzKXvZktnXrx0ZCxYsBiFHmnk/mZHsAhyi... | 2023-03-13T20:08:17 | 2023-03-13T20:11:57 | {} | NONE |
vuejs | core | 1,468,216,388 | 7,893 | skirtles-code | There seems to be a lot going on in that reproduction and it includes various other libraries. What makes you think the increasing memory usage is caused by a problem in Vue core? | 2023-03-14T14:34:54 | 2023-03-14T14:34:54 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,468,365,880 | 7,895 | LinusBorg | We can't investigate such issues without a runnable reproduction. | 2023-03-14T15:52:38 | 2023-03-14T15:52:38 | {} | MEMBER |
vuejs | core | 1,469,515,303 | 5,522 | haoqunjiang | Fixed. | 2023-03-15T07:51:47 | 2023-03-15T07:51:47 | {} | MEMBER |
vuejs | core | 1,469,621,095 | 5,785 | haoqunjiang | Closing as the documentation has been updated | 2023-03-15T09:08:31 | 2023-03-15T09:08:31 | {} | MEMBER |
vuejs | core | 1,458,462,184 | 7,849 | phenomenos | Update: setting the value to `unset` or `initial` instead of `none` fixed the issue! | 2023-03-07T16:28:01 | 2023-03-07T16:28:01 | {} | NONE |
vuejs | core | 1,459,715,567 | 7,842 | d0rsha | Ok thank you for the answer, seems like this issue is related to #6351 | 2023-03-08T08:25:29 | 2023-03-08T08:25:29 | {} | NONE |
vuejs | core | 1,459,761,957 | 7,821 | baiwusanyu-c | #6529 might fix this | 2023-03-08T08:47:54 | 2023-03-08T08:47:54 | {} | MEMBER |
vuejs | core | 1,462,203,043 | 7,869 | miguelrincon | 👋 I opened this as a way to more deeply document how nested arrays work in `class`. | 2023-03-09T14:58:01 | 2023-03-09T14:58:01 | {} | NONE |
vuejs | core | 1,463,478,089 | 7,872 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4382881586)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4382881586/jobs/7672454516) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4382881586/jobs/7672... | 2023-03-10T08:56:48 | 2023-03-10T09:05:00 | {} | CONTRIBUTOR |
vuejs | core | 1,465,186,976 | 7,882 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 6456ba1764b9832f4fb1a028cba68a3c3904303e |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2023-03-12T12:40:57 | 2023-03-12T12:40:57 | {} | NONE |
vuejs | core | 1,458,301,108 | 6,859 | ValCanBuild | Is there any update on this? It's impacting the SEO of my pages that use Vue. | 2023-03-07T14:46:46 | 2023-03-07T14:46:46 | {} | NONE |
vuejs | core | 1,459,034,107 | 7,852 | simlevesque | This error is also present in Vue 2.7.14: https://github.com/vuejs/vue/blob/main/src/v3/reactivity/ref.ts#L58 | 2023-03-07T23:36:17 | 2023-03-07T23:36:17 | {} | CONTRIBUTOR |
vuejs | core | 1,460,617,678 | 7,852 | simlevesque | I've added a better reproduction of the error to show it will lead to runtime error. | 2023-03-08T18:06:09 | 2023-03-08T18:06:09 | {} | CONTRIBUTOR |
vuejs | core | 1,463,404,538 | 7,383 | sxzz | /ecosystem-ci run | 2023-03-10T07:48:58 | 2023-03-10T07:48:58 | {} | MEMBER |
vuejs | core | 1,467,825,346 | 7,280 | joker77877 | > @daisybaicai
>
> 改写一下index.vue :3-16 代码 就不会打印l两次
>
> ```
> <router-view v-slot="{ Component }">
> <keep-alive v-if="$route.meta.keepAlive">
> <component :is="Component" :key="$route.name" />
> </keep-alive>
> <component :is="Component" v-else :key="$route.name" />
> </ro... | 2023-03-14T10:29:25 | 2023-03-14T10:29:25 | {} | NONE |
vuejs | core | 1,469,529,755 | 5,554 | haoqunjiang | It's expected. See the RFC for details: https://github.com/vuejs/rfcs/blob/master/active-rfcs/0043-sfc-style-variables.md#compilation-details
It's compiled to a `useCssVars` call with the ctx value from the JavaScript execution context.
There's no way it can know the less variable. And this is by design. You should u... | 2023-03-15T08:03:52 | 2023-03-15T08:03:52 | {} | MEMBER |
vuejs | core | 1,470,508,093 | 6,435 | nimens55 | + This problem is still present | 2023-03-15T18:03:07 | 2023-03-15T18:03:07 | {
"confused": 10
} | NONE |
vuejs | core | 1,470,814,001 | 7,900 | skirtles-code | You need to use `defineComponent()` to get TS support. See <https://vuejs.org/guide/typescript/options-api.html>. | 2023-03-15T20:44:36 | 2023-03-15T20:44:36 | {} | CONTRIBUTOR |
vuejs | core | 1,471,484,293 | 7,897 | tobychidi | Moi React dev switching to Vue😏.
I think this feature could be useful and make Vue more robust. I have wanted to do this before. There is one current solution. Use JSX or Function components (h stuff) in the script | 2023-03-16T08:04:59 | 2023-03-16T08:07:04 | {} | NONE |
vuejs | core | 1,462,196,154 | 6,859 | fakerdog1 | The suggested workaround did not work for me, however, I found another workaround by creating a Shadow DOM element. Works fine on Chrome and Firefox.
```
<sr-img
src="https://picsum.photos/200"
alt=""
class="img-fluid share-rig-swiper-img"
loading="lazy"
></sr-img>
```
```
jQuery(f... | 2023-03-09T14:53:45 | 2023-03-09T14:55:44 | {} | NONE |
vuejs | core | 1,462,603,628 | 6,715 | jonaskuske | @LiamMartens
> Is there any workaround available for this issue?
Replacing the `v-if` with a `v-for` should work:
```html
<!-- error -->
<p v-if="shouldShow">Hello!</p>
<!-- works -->
<p v-for="_ in shouldShow ? [1] : []">Hello!</p>
``` | 2023-03-09T18:58:20 | 2023-03-09T18:58:20 | {} | CONTRIBUTOR |
vuejs | core | 1,464,817,244 | 7,875 | Justineo | /ecosystem-ci run | 2023-03-11T03:59:29 | 2023-03-11T03:59:29 | {} | MEMBER |
vuejs | core | 1,469,498,941 | 5,136 | haoqunjiang | What are the use cases for a single bundled `.d.ts` file? | 2023-03-15T07:40:15 | 2023-03-15T07:40:15 | {} | MEMBER |
vuejs | core | 1,469,615,336 | 5,733 | haoqunjiang | Closing due to lack of response | 2023-03-15T09:04:58 | 2023-03-15T09:04:58 | {
"confused": 1
} | MEMBER |
vuejs | core | 1,471,688,853 | 7,875 | Justineo | /ecosystem-ci run | 2023-03-16T10:28:24 | 2023-03-16T10:28:24 | {} | MEMBER |
vuejs | core | 1,460,074,435 | 7,615 | edison1105 | @Jevon617 thanks. | 2023-03-08T12:21:11 | 2023-03-08T12:21:11 | {} | MEMBER |
vuejs | core | 1,463,610,178 | 7,868 | chris-visser | Hey @LinusBorg long time not seen indeed. Likewise! And thanks @RicardoErii . I think I understand now. Besides this mistake, I've also been using the value prop eg: `<Checkbox value="Give this" v-model="computedValue" />`. I was expecting it to give me "Give this" when checked and undefined when unchecked.
In the ... | 2023-03-10T10:40:04 | 2023-03-10T10:42:05 | {} | NONE |
vuejs | core | 1,465,749,224 | 5,179 | sundaotong | 你学要通过defineExpose暴露数据 | 2023-03-13T09:01:45 | 2023-03-13T09:01:45 | {} | NONE |
vuejs | core | 1,467,703,295 | 2,364 | haoqunjiang | I'm closing this issue because:
- The latest version of Vue (3.x) only supports [browsers with native ES2015 support](https://caniuse.com/es6), while Firefox 48 only has partial support for ES2015. (https://vuejs.org/about/faq.html#what-browsers-does-vue-support)
- It might be possible to make it work (it's not guara... | 2023-03-14T09:17:17 | 2023-03-14T09:17:17 | {} | MEMBER |
vuejs | core | 1,471,221,353 | 7,902 | edison1105 | see https://vuejs.org/guide/essentials/reactivity-fundamentals.html#limitations-of-reactive | 2023-03-16T03:11:49 | 2023-03-16T03:11:49 | {} | MEMBER |
vuejs | core | 1,461,066,968 | 7,176 | toniengelhardt | Would be amazing to have this also for the `<style>` tag, e.g. default to `<style lang="postcss" scoped>`. | 2023-03-09T00:14:07 | 2023-03-09T00:14:07 | {
"-1": 2
} | NONE |
vuejs | core | 1,460,230,641 | 7,823 | edison1105 | This only happens in SSR development mode, and the root cause is:

When `\` appears in the key of an object, it will be lost. Therefore, it needs to be escaped again.
The complete fix requires merging #6979 ... | 2023-03-08T14:22:07 | 2023-03-09T00:38:28 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,463,080,447 | 7,872 | edison1105 | /ecosystem-ci run | 2023-03-10T01:39:04 | 2023-03-10T01:39:04 | {} | MEMBER |
vuejs | core | 1,463,404,981 | 7,383 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4382422792)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4382422792/jobs/7671453130) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4382422792/jobs/7671... | 2023-03-10T07:49:28 | 2023-03-10T08:13:54 | {} | CONTRIBUTOR |
vuejs | core | 1,464,118,626 | 7,875 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/4386843507)
| suite | result |
|-------|--------|
| [naive-ui](https://github.com/vuejs/ecosystem-ci/actions/runs/4386843507/jobs/7681412112) | :x: failure |
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/4386843507/jobs/7681... | 2023-03-10T17:15:40 | 2023-03-10T17:21:39 | {} | CONTRIBUTOR |
vuejs | core | 1,471,499,006 | 7,897 | yunyuyuan | @tobychidi Not React, it’s Angular,TSX does not work well with nuxtjs in my tests | 2023-03-16T08:16:28 | 2023-03-16T08:16:28 | {} | NONE |
vuejs | core | 1,471,876,186 | 6,690 | haoqunjiang | Maybe https://github.com/vuejs/core/pull/7218 can help. | 2023-03-16T12:33:53 | 2023-03-16T12:33:53 | {} | MEMBER |
vuejs | core | 1,471,966,862 | 3,795 | ivansieder | As far as I can tell, by now it's already possible to have multiple root nodes without any warning, so this could be closed? | 2023-03-16T13:35:57 | 2023-03-16T13:35:57 | {} | CONTRIBUTOR |
vuejs | core | 1,458,296,022 | 7,842 | d0rsha | I updated my example to make it more illustrative https://sfc.vuejs.org/#eNp9VG1vmzAQ/isnV1M2pcFZt3xhkGWr1B+wz3whYFZWwJZtMlWI/97HvKQUaC1Fse8533P33JmG/VLKu9SC+Swwic6VJSNsrY5RlZdKakv3slSUaVnSxuPu4Nw3V7ghLTJqBw8H/YiqRFbGUiLrylLoHD7vv8BM1P8KYcmKUhWxFX9ElQp9P7ju4eXQBDzryFmmz+tIJqUVeokFvC8MJeEw8uJEFLg6CWslm7BpVqzbbdt2N3l/tds... | 2023-03-07T14:43:33 | 2023-03-07T14:43:33 | {} | NONE |
vuejs | core | 1,461,231,619 | 7,864 | yangxiuxiu1115 | You should modify the binding value of the `key`.
https://sfc.vuejs.org/#eNqNUk1vnDAQ/SsjX9hVF/tOIW3Vc0851j0QMFknYFv2mKoi/PeO8S7KhxLl5vGbee/Nx8J+OMfnqFjF6tB57RCCwuhgbM19IxkGyW6k0ZOzHmEBrwZYYfB2goLKiq879tNO7gJwkYJEW0gjTWdNIFr00KT6Q9GroY0jFkeqlmaIpkNtDbR9f4v+cIRFGkj5fG7HqOBLA0VJYBJbpalFNkq2KEA1ubFFRRFAnXS3F8CybJIrVRCwO... | 2023-03-09T03:53:12 | 2023-03-09T03:57:07 | {} | CONTRIBUTOR |
vuejs | core | 1,461,892,973 | 6,715 | maprox | For me it not only happens with v-if child, but also when you have a slot in a reusable transition component (as mentioned in this closed issue https://github.com/vuejs/core/issues/6922):
https://sfc.vuejs.org/#__SSR__eNp9kctqwzAQRX9FaJNNLEFbKBg1pHTRH+hSGz+mjRrrwUh2KcH/3pGTJk4M2c3cOeiO7hz4awhi6IGXXMUGTUgsQurDRjtjg8f... | 2023-03-09T11:52:49 | 2023-03-09T12:17:34 | {} | NONE |
vuejs | core | 1,462,158,968 | 3,948 | tassin-gauthier | Up, this issue is really annoying for the code readability and maintainability. We have two options for now :
- use `type: null as unknown as PropType<string | null>,` which is hard to read and sounds wrong, because the real prop type is a string but nullable.
- do not use `required: true` and replace it by `def... | 2023-03-09T14:29:17 | 2023-03-09T14:29:17 | {} | NONE |
vuejs | core | 1,464,816,808 | 7,875 | browsnet | Can you trigger the ecosystem CI again? I feel a bit confused after looking at these error messages from the test suites, and I'm not even sure if they are caused by this PR. If you could help me sort out the errors, that would be even better. Thank you. | 2023-03-11T03:57:13 | 2023-03-11T03:57:13 | {} | CONTRIBUTOR |
vuejs | core | 1,469,889,840 | 6,334 | haoqunjiang | Closing due to lack of response. | 2023-03-15T12:08:36 | 2023-03-15T12:08:36 | {} | MEMBER |
vuejs | core | 1,471,804,490 | 7,280 | ittking | 我也遇到这种问题了,基本无解,全网都找不到解决办法! | 2023-03-16T11:45:50 | 2023-03-16T11:45:50 | {} | NONE |
vuejs | core | 1,471,808,557 | 7,280 | joker77877 | > 我也遇到这种问题了,基本无解,全网都找不到解决办法!
我上面那个方法试过是可以的 | 2023-03-16T11:48:05 | 2023-03-16T11:48:05 | {
"+1": 1
} | NONE |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.