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,414,782,941 | 7,639 | edison1105 | see https://github.com/vuejs/core/pull/7326/files | 2023-02-03T03:19:38 | 2023-02-03T03:19:38 | {} | MEMBER |
vuejs | core | 1,418,520,136 | 7,655 | mrleblanc101 | If I remove the options like so:
```
import TransitionExpand from 'vue3-transition-expand';
import 'vue3-transition-expand/dist/style.css';
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(TransitionExpand);
});
```
I get a different error:
> Argument of type 'Plugin_2<any[]>' is not a... | 2023-02-06T05:02:21 | 2023-02-06T05:02:21 | {} | NONE |
vuejs | core | 1,421,347,951 | 2,460 | eric-hemasystems | I hit this also with [Rails UJS](https://github.com/rails/rails/tree/main/actionview/app/javascript/rails-ujs). It emits events like `ajax:beforeSend`, `ajax:complete`, etc. In Vue 2 I had just:
```
@ajax:beforeSend="beforeRemoteForm"
@ajax:complete="afterRemoteForm"
```
Now the later one works (since it's all... | 2023-02-07T19:44:16 | 2023-02-07T19:44:16 | {} | NONE |
vuejs | core | 1,425,149,101 | 7,672 | baiwusanyu-c | > This could be a bug on the playground, `currentInstance = null` that's not possible, did you test it in the test case?
https://github.com/vuejs/core/blob/78b86150b801e7eb4ebf1cdff977e791dc0438f0/packages/runtime-core/__tests__/hydration.spec.ts#L716
This test is passed, maybe it is a playground bug | 2023-02-10T04:10:08 | 2023-02-10T04:10:08 | {} | MEMBER |
vuejs | core | 1,425,556,643 | 7,684 | kinfuy | I think this kind of feeling is a little dark magic. Declare variables in the template, and they are valid in the entire template. This vue2 has the same effect. I'm not sure if it needs to be modified @AlexVagrant @baiwusanyu-c | 2023-02-10T10:08:00 | 2023-02-10T10:08:00 | {} | NONE |
vuejs | core | 1,416,820,204 | 7,165 | sxzz | Sadly closed. Done via https://github.com/vuejs/core/commit/53e3533b75adc32f979adde34bde3b581e48084b
@yyx990803 | 2023-02-04T18:30:40 | 2023-02-04T18:32:19 | {} | MEMBER |
vuejs | core | 1,420,211,052 | 7,666 | edison1105 | see https://github.com/vitejs/vite/discussions/7592 | 2023-02-07T05:10:43 | 2023-02-07T05:10:43 | {} | MEMBER |
vuejs | core | 1,420,618,114 | 7,658 | zh-lx | Although the description of `width` on MDN must be a integer, it can also be a string type when used in html.I think the description on mdn is not necessarily accurate, and we should be more consistent with the actual use of html.
Here is an example to prove my point:
[The attribute of `<input>` in mdn](https://d... | 2023-02-07T11:25:02 | 2023-02-07T11:55:04 | {} | CONTRIBUTOR |
vuejs | core | 1,421,661,944 | 4,356 | DBTK1990 | my solution to whom ever who will need this
@NielsJorck your comment was a big help, thank you
```
import { VueService } from "../../registries/services/vue.service";
import { ComponentInternalInstance, defineCustomElement as vueDefineCustomElement, render, version, VNode, devtools } from "vue";
const Fragment = S... | 2023-02-07T23:51:10 | 2023-02-08T00:05:14 | {} | NONE |
vuejs | core | 1,423,609,603 | 5,284 | miyukki | I was also affected by this change.
Until now, the length of the string was used to detect that the input filed was empty.
After the change, if the input field is empty it will return a string type and if it is not empty it will return a number type.
In the case of type=number, there was a change to cast to a numb... | 2023-02-09T04:21:49 | 2023-02-09T04:21:49 | {} | NONE |
vuejs | core | 1,423,788,186 | 7,677 | mrleblanc101 | If I add a `// @ts-ignore` and check the built code.
I see this, which seems perfectly fine.
```
{
expanded: { type: Boolean, required: !0, default: !1 },
duration: {
type: Number,
required: !1,
default: () => {
var e;
return ((e = i(s)) == null ? void 0 : e.duration) || 300;
... | 2023-02-09T08:07:59 | 2023-02-09T08:07:59 | {} | NONE |
vuejs | core | 1,425,045,199 | 7,672 | edison1105 | This could be a bug on the playground, `currentInstance = null` that's not possible, did you test it in the test case? | 2023-02-10T01:16:59 | 2023-02-10T01:16:59 | {} | MEMBER |
vuejs | core | 1,425,422,980 | 7,684 | AlexVagrant | I think this isn't a bug. Vue3 is the same presentation form as Vue2.
https://stackblitz.com/edit/vue2-vue-cli-d2v8f6?file=src/App.vue | 2023-02-10T08:41:01 | 2023-02-10T08:41:01 | {} | CONTRIBUTOR |
vuejs | core | 1,414,339,021 | 7,155 | iWatchYouFromAfar | I faced the same problem and reproduced it.
Add any content to the slot of any Column component (or direct in link below). HMR will won't work.
https://codesandbox.io/p/sandbox/vue-3-vite-4-primevue-3-9rubvl?file=%2Fsrc%2Fcomponents%2FTable.vue&selection=%5B%7B%22endColumn%22%3A1%2C%22endLineNumber%22%3A41%2C%22s... | 2023-02-02T20:33:40 | 2023-02-02T20:33:40 | {} | NONE |
vuejs | core | 1,418,998,113 | 7,346 | SimmeNilsson | Any idea if/when a fix will be made? :) | 2023-02-06T12:23:22 | 2023-02-06T12:23:22 | {
"+1": 1
} | NONE |
vuejs | core | 1,419,134,544 | 7,657 | baiwusanyu-c | Please provide a project that minimally reproduces the problem | 2023-02-06T14:05:39 | 2023-02-06T14:05:39 | {} | MEMBER |
vuejs | core | 1,419,575,940 | 6,736 | BlakeB415 | Can we get this merged soon? | 2023-02-06T18:45:56 | 2023-02-06T18:45:56 | {
"eyes": 20
} | NONE |
vuejs | core | 1,420,400,205 | 7,652 | zh-lx | > It's hard to change now, as all users of a Vue web component now already use it like this. So it's a breaking change.
I understanded it. At present, the capability of `customEvent` of Vue is quite different from that of javascript standard. It is not only the type of `detail` property, but also the lack of the pro... | 2023-02-07T08:46:07 | 2023-02-07T08:46:50 | {} | CONTRIBUTOR |
vuejs | core | 1,421,417,157 | 6,277 | eric-hemasystems | I get this also with a hidden field:
```vue
<input :name="name" value="" type="hidden" />
```
`name` and `value` are props to the component that holds this template. Renders as just:
```html
<input name="my_field" type="hidden">
```
Didn't use to do this under Vue 2. The `:value.attr="''"` trick works. ... | 2023-02-07T20:41:03 | 2023-02-07T21:03:08 | {} | NONE |
vuejs | core | 1,421,841,018 | 7,655 | mrleblanc101 | Someone suggested trying an earlier version of Vue 3 since 3.2.46/47 brought some TypeSript changes.
I tried 3.2.40 and got a slightly different error than above:
> Argument of type '{ install(app: App<any>, options: PluginOptions): void; }' is not assignable to parameter of type 'Plugin_2'.
> Type '{ install(ap... | 2023-02-08T01:59:11 | 2023-02-08T01:59:11 | {} | NONE |
vuejs | core | 1,425,402,030 | 4,294 | oliviervanbulck | Is this already fixed in the alpha release of v3.3?
I have a problem with extending an interface to create the types.
Something like this:
```
interface Props
extends OtherProps,
Partial<
Omit<
OtherPropsChild,
keyof OtherProps | 'status'
>
> {}
```
This does not seem to work, ev... | 2023-02-10T08:23:01 | 2023-02-10T08:27:25 | {
"+1": 1
} | NONE |
vuejs | core | 1,425,546,193 | 7,685 | baiwusanyu-c | 
need more info | 2023-02-10T10:01:09 | 2023-02-10T10:01:51 | {} | MEMBER |
vuejs | core | 1,415,042,297 | 7,383 | haiweilian | @sxzz @LinusBorg Thanks. Will it merge? | 2023-02-03T05:46:30 | 2023-02-03T05:46:30 | {} | NONE |
vuejs | core | 1,420,671,369 | 7,649 | lehni | While this does work for the reduced test-case I posted above, in the code base that I am porting from Vue 2 to Vue 3, `<Suspense>` does not actually replace the old functionality correctly. I end up with lots of these errors:
```
Unhandled error during execution of scheduler flush. This is likely a Vue internals b... | 2023-02-07T12:10:16 | 2023-02-07T12:10:34 | {} | CONTRIBUTOR |
vuejs | core | 1,421,190,687 | 7,669 | LinusBorg | Yeah that won't work, and is expected. The ref should not contain a component name, it should contain the component itself.
https://sfc.vuejs.org/#eNqVU01PwzAM/SsmFzZpbcS1KkiIf8A5lyz1aCAfVZJuVNP+O05a2DQQglvi2O/Zzy9H9jgM9X5E1rA2oR2MTPggHEDb30FMk8F7wZQ3PjTQyfAWsBOsJAA8jTF5C0/eDt6hSxB7P5oOtggBXYeUC6tuctJqJY2Z1vRi/AG8Uw... | 2023-02-07T17:44:48 | 2023-02-07T17:45:22 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,419,925,233 | 7,652 | zh-lx | Yes, I understand. However, for users of web component components, in most scenarios, they only need to use `e.detail` but now they need to use `e.detail[0]`, the use cost has increased. | 2023-02-06T23:18:17 | 2023-02-06T23:18:17 | {} | CONTRIBUTOR |
vuejs | core | 1,420,346,409 | 7,586 | posva | Duplicate of https://github.com/vuejs/core/issues/2981 | 2023-02-07T08:00:14 | 2023-02-07T08:00:14 | {} | MEMBER |
vuejs | core | 1,423,774,401 | 7,150 | mrleblanc101 | Is this related ?
```ts
export interface Props {
expanded: boolean;
duration?: number;
hwAcceleration?: boolean;
}
const props = withDefaults(defineProps<Props>(), {
expanded: false,
duration: () => inject<PluginOptions>(PLUGIN_KEY)?.duration || 300,
hwAcceleration: () => inject<Plug... | 2023-02-09T07:54:56 | 2023-02-09T07:59:54 | {} | NONE |
vuejs | core | 1,415,039,713 | 7,506 | wiseadme | faced with the same problem | 2023-02-03T05:44:57 | 2023-02-03T05:44:57 | {} | NONE |
vuejs | core | 1,419,069,862 | 5,525 | liulinboyi | > @liulinboyi any special configs options used there?
The [repository](https://github.com/liulinboyi/Vue3-Template-Refs-in-v-for) is here. | 2023-02-06T13:19:21 | 2023-02-06T13:19:21 | {} | MEMBER |
vuejs | core | 1,420,605,425 | 7,649 | AlexVagrant | This isn't a vue3 bug. if you use out-in mode in transition, you need to use `<Suspense>` tag to wrap your tag.
```vue
<template>
<button @click="handleAddCounter">Step</button>
to cycle through counter: {{ counter }} name is {{ names[counter] }}
<div class="transition">
<Transition name="slide-up" mo... | 2023-02-07T11:14:50 | 2023-02-07T11:14:50 | {} | CONTRIBUTOR |
vuejs | core | 1,423,986,490 | 7,649 | lehni | @AlexVagrant great find! Are you working on a PR to fix this? | 2023-02-09T10:49:16 | 2023-02-09T10:49:16 | {} | CONTRIBUTOR |
vuejs | core | 1,425,402,581 | 7,402 | baiwusanyu-c | > I have found the cause of the problem. The `vue.runtime.esm-browser.js` and `server-renderer.esm-browser.js` modules contain some of the same code, as shown below:
>
> ```js
> let currentInstance = null;
> const setCurrentInstance = (instance) => {
> currentInstance = instance;
> instance.scope.on();
... | 2023-02-10T08:23:33 | 2023-02-10T08:23:33 | {} | MEMBER |
vuejs | core | 1,414,988,737 | 7,585 | MKraust | Is that what you are looking for?
```
export default defineComonent<Props, Emits>((props, ctx) => () => h(...))
```
Note that you must pass a setup function that returns render function.
Actually, I'm not quite sure about Emits generic structure. Maybe props like `onSomething` would be more suitable for you, since all ... | 2023-02-03T05:14:25 | 2023-02-03T05:44:30 | {} | NONE |
vuejs | core | 1,419,354,040 | 7,652 | baiwusanyu-c | 我想我懂你意思了,在`vue`的实现中,将`arg`直接传递出来。这使得参数总是以数组的形式传递给开发者。但是我认为其实这和`customEvent`的标准并不违背,`detail`确实可以是任意类型,只是在`vue`中实现`customElement`时选择了将事件参数总是以数组的形式通过`detail`来传递,我认为这是设计如此而已
I think I understand what you mean. In the implementation of `vue`, `arg` is passed directly. This makes the parameters always passed to the develo... | 2023-02-06T16:19:45 | 2023-02-06T16:20:50 | {} | MEMBER |
vuejs | core | 1,420,529,735 | 7,659 | LinusBorg | Different how? Is there an issue for that problem with SSR? | 2023-02-07T10:18:34 | 2023-02-07T10:18:34 | {} | MEMBER |
vuejs | core | 1,420,821,244 | 7,658 | zh-lx | > > it can also be a string type when used in html
>
> Certain browsers may support that, but it's not in the spec:
>
> > The attributes, if specified, must have values that are valid non-negative integers.
>
> https://html.spec.whatwg.org/multipage/embedded-content-other.html#attr-dim-height
>
> Vue also s... | 2023-02-07T14:00:00 | 2023-02-07T14:00:00 | {} | CONTRIBUTOR |
vuejs | core | 1,420,546,098 | 7,666 | lixiaofa | > A project with that many dependencies and files in the src folder is not, by any sense of the word, "minimal".
>
> ```json
> {
> "dependencies": {
> "@vant/touch-emulator": "^1.4.0",
> "@vant/use": "^1.4.3",
> "axios": "^1.2.1",
> "echarts": "^5.4.1",
> "lodash-es": "^4.17.21",
> "n... | 2023-02-07T10:30:19 | 2023-02-08T07:28:36 | {} | NONE |
vuejs | core | 1,581,551,174 | 6,463 | antfu | On 3.3, this can be resolved by using a nested `<Suspense suspensible>`:
https://play.vuejs.org/#eNp9VLFu2zAQ/ZUDl8iALaZIuyiyESNLgS4FUqALF8U612wlkiApuUGgfw9FihZtJxkE8e7x3r17pPRKtkrlfYekIKXFVjWVxQ0TAGXN+w0AjGsXPXVGoTAB85kRj8EUfsemkSU9Rzz6A1FtG97P9ScoMoMJC/7cIPQrvl8zws3TQR4FI2dlzPrCx1YB3UwCE0J6pTUC1ypSsReFESpp4ktpdpor... | 2023-06-07T21:45:14 | 2023-06-07T21:45:14 | {
"heart": 4
} | MEMBER |
vuejs | core | 1,581,929,288 | 5,250 | edison1105 | @baiwusanyu-c
I saw a different code. [see](https://play.vuejs.org/#__DEV__eNp9kMFOwzAMhl8lygmkNTmMUynTEA8AEkfCoe3ckrE4keOOw+i7k7ajVEPaIVJsJ9/v/z/JxxDUsQOZyyLWZAOLCNwFcSixfTCSo5EbgxYZqClrEK/ewXO1h5rFyaAQovE+F5HJYrsaG1VJucDOVUAG+6GVzhLx5F14IR/imSDizEykP/73onh7H1kGd9BYhPF7MYM2N7f3Bgs9OUj7FgwuHEqG4a7nQq6kdcETZ64Mah89Jt/... | 2023-06-08T05:49:45 | 2023-06-08T05:49:45 | {} | MEMBER |
vuejs | core | 1,582,404,632 | 8,500 | LinusBorg | Yeah i got something mixed up with that migrationg guide link.
Yet in a sense it still applies: v-for does not *always* need a key. our docs have a separate section detailing when to use a key:
https://vuejs.org/guide/essentials/list.html#maintaining-state-with-key
Hence why we provide an eslint rule to reco... | 2023-06-08T11:21:09 | 2023-06-08T11:21:09 | {} | MEMBER |
vuejs | core | 1,585,596,451 | 7,373 | sxzz | Outdated. | 2023-06-10T10:12:53 | 2023-06-10T10:12:53 | {} | MEMBER |
vuejs | core | 1,585,613,039 | 7,593 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/5229539581)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/5229539581/jobs/9442583342) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/52295395... | 2023-06-10T10:45:59 | 2023-06-10T10:53:53 | {} | CONTRIBUTOR |
vuejs | core | 1,587,233,680 | 6,592 | DrJume | This would be great. I always have to resort to SVGO to compile the <style> into inline styles...
Why are PRs with good ideas getting ignored? | 2023-06-12T12:21:47 | 2023-06-12T12:21:47 | {} | CONTRIBUTOR |
vuejs | core | 1,587,520,246 | 8,468 | justin-schroeder | Ok, that actually makes a lot of sense @sxzz.
**Related:** Has any consideration been giving to providing a mechanism to remove the distinction of props/attrs and treating all of them the same (as props)? This would be useful for library authors who would like to create dynamic prop APIs. To prevent breaking changes... | 2023-06-12T15:00:17 | 2023-06-12T15:00:17 | {
"+1": 7
} | NONE |
vuejs | core | 1,582,796,723 | 7,992 | wenfangdu | @yyx990803 Why not support the function style declaration? It's closer to how we use `defineProps<T>()`, also, the args aren't just tuple labels and we can define the function return type that way. | 2023-06-08T15:18:04 | 2023-06-08T15:18:04 | {} | NONE |
vuejs | core | 1,583,833,369 | 8,247 | varlinor | > > @xiaohongju i think you should just externalize `fsevents` in your vite config ` optimizeDeps: { exclude: ['fsevents'], },`
>
> thanks,I have already tried,but The problem is still unresolved
I meet the same problem in my monorepo project, but I fixed it,
This error might be reported when your project add a ... | 2023-06-09T02:08:02 | 2023-06-09T02:09:40 | {} | NONE |
vuejs | core | 1,585,514,546 | 8,531 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 30165abe523f722dd48b0b7cd54446d7de67244f |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2023-06-10T06:25:34 | 2023-06-10T06:25:34 | {} | NONE |
vuejs | core | 1,586,240,749 | 8,542 | sxzz | I believe that most userland applications require inherited attributes. Like Only 8 files have `inheritAttrs` set in [Elk](https://github.com/search?q=repo%3Aelk-zone%2Felk%20inheritAttrs&type=code).
Perhaps we could include an option to change its default behavior. | 2023-06-11T16:34:32 | 2023-06-11T16:34:32 | {} | MEMBER |
vuejs | core | 1,587,316,501 | 8,555 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-next-template-explorer* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 519d324ead338cda6966407c69804921a9fa5c7d |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/s... | 2023-06-12T13:10:42 | 2023-06-12T13:10:42 | {} | NONE |
vuejs | core | 1,588,646,610 | 8,564 | liulinboyi | > 首先感谢您的回复,我也在Vue playground试过,结果确实如此。 但是在vsCode中运行后,打开浏览器的console却是以下结果 
I have a try, your tsconfig.json is have set the `useDefineForClassFields` `true`, so it has this behavior.
... | 2023-06-13T06:45:25 | 2023-06-13T06:49:17 | {} | MEMBER |
vuejs | core | 1,588,741,181 | 8,567 | liulinboyi | You can use it like this [play ground](https://play.vuejs.org/#__DEV__eNrtfEvv40a231cRfJGxHbq7+H54PAPo8ZcoiaIoiRIpwsAFn6IkPiS+yQvvsriLLLLPKvuL7JJF5utkcpFvkUPxT3W33WPY4zZgIyM0+k/y/Fh16tR5VbGq/uWz4e32tsjdz77+7JvUTs637M/fRufwFifZ4F8Gu8Ns8N3AS+Jw8O1naXF6e0m//ezbyK0edMf1zDwA3LfRYBDGeZS5zhdfdrfdz46jNA7ct0F8+uLzf//Lf/rff/mff/... | 2023-06-13T07:51:18 | 2023-06-13T07:51:18 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,590,269,549 | 8,569 | edison1105 | It seems not compatible with TS 5.1.3. see also https://twitter.com/johnsoncodehk/status/1665386381575593986 | 2023-06-14T01:00:28 | 2023-06-14T01:00:28 | {} | MEMBER |
vuejs | core | 1,585,585,531 | 5,409 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/5229288990)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/5229288990/jobs/9442184151) | :x: failure |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/5229288990/jobs/9442184... | 2023-06-10T09:38:39 | 2023-06-10T09:46:52 | {} | CONTRIBUTOR |
vuejs | core | 1,587,338,390 | 8,553 | Fuzzyma | You are right. This has to be a user error on my site then ^^ | 2023-06-12T13:23:35 | 2023-06-12T13:23:35 | {} | NONE |
vuejs | core | 1,588,738,757 | 8,567 | Alfred-Skyblue | I noticed that you initialized `SVG('#my-svg')` like this, but in svg.js, you need to pass an id instead of a selector. You should initialize it as `SVG('my-svg')`. However, I found that the object it retrieves does not have the findOne method. Does this mean there's an issue with the version I'm using?
[play](https... | 2023-06-13T07:49:59 | 2023-06-13T07:49:59 | {} | MEMBER |
vuejs | core | 1,588,934,633 | 8,391 | cschra | okay... thanks for the clarification! | 2023-06-13T09:41:14 | 2023-06-13T09:41:14 | {} | NONE |
vuejs | core | 1,589,915,792 | 8,567 | yu0A | > This [play ground](https://play.vuejs.org/#__DEV__eNrtfEvv40a231cRfJGxHbq7+H54PAPo8ZcoiaIoiRIpwsAFn6IkPiS+yQvvsriLLLLPKvuL7JJF5utkcpFvkUPxT3W33WPY4zZgIyM0+k/y/Fh16tR5VbGq/uWz4e32tsjdz77+7JvUTs637M/fRufwFifZ4F8Gu8Ns8N3AS+Jw8O1naXF6e0m//ezbyK0edMf1zDwA3LfRYBDGeZS5zhdfdrfdz46jNA7ct0F8+uLzf//Lf/rff/mff/3X//rXv/yvv/73//x/... | 2023-06-13T19:42:20 | 2023-06-13T19:42:20 | {} | NONE |
vuejs | core | 1,581,184,589 | 8,500 | TNSaturday | > @LinusBorg That documentation doesn't mention anywhere that `key` isn't needed on v-for - it only says so about v-if. Can the docs be updated as a source of truth? (e.g. google finds this SO post https://stackoverflow.com/a/70987261)
Was about to say the same thing. | 2023-06-07T16:44:24 | 2023-06-07T16:44:24 | {} | NONE |
vuejs | core | 1,581,795,167 | 8,409 | baiwusanyu-c | In the latest discussion it was decided to keep the default value of `0s` due to compatibility issues
https://github.com/w3c/csswg-drafts/issues/6530#issuecomment-1581661556
However, the development version of Google Chrome in version 116 has not been modified yet. | 2023-06-08T02:27:27 | 2023-06-08T02:27:27 | {} | MEMBER |
vuejs | core | 1,581,803,768 | 5,250 | baiwusanyu-c | This issue seems to have been fixed in vue3.3. Can you help confirm this 🧐? @LinusBorg

| 2023-06-08T02:42:34 | 2023-06-08T02:42:34 | {} | MEMBER |
vuejs | core | 1,581,832,859 | 8,409 | Justineo | > keep the default value of `0s`
If I understand correctly, the default value is still changed to `auto` but `getComputedStyle` will return `0s`. | 2023-06-08T03:23:51 | 2023-06-08T03:23:51 | {} | MEMBER |
vuejs | core | 1,582,216,742 | 8,519 | Justineo | > 1、需要作为第三方库导出的vue组件。对于react,我只需要在项目中导入第三方库的js文件即可,但是对于vue,我还需要导入css。
你说的这个不成立,这个和是 React 还是 Vue 毫无关系,这个取决于组件发布时是怎么编译打包的。 | 2023-06-08T09:29:48 | 2023-06-08T09:29:48 | {} | MEMBER |
vuejs | core | 1,588,327,426 | 8,554 | sxzz | I think this is the behavior of Safari. Not related to Vue itself. | 2023-06-13T00:50:40 | 2023-06-13T00:50:40 | {} | MEMBER |
vuejs | core | 1,589,252,796 | 8,386 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/5255658827)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/5255658827/jobs/9495876552) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/52556588... | 2023-06-13T12:51:36 | 2023-06-13T13:00:26 | {} | CONTRIBUTOR |
vuejs | core | 1,581,808,780 | 8,515 | Zero1306 | 问题背景,项目需要做持久化缓存,需要获取类似vue2中的$data数据去存储 | 2023-06-08T02:51:25 | 2023-06-08T02:51:25 | {} | NONE |
vuejs | core | 1,581,974,320 | 4,294 | DiedeGu | @nborko
> I am attempting to define a common props interface in a composable module to replace the need for a mixin, extending Props interfaces as in #4989, and using mergeProps to merge an object with default values via withDefaults().
I am still not able to set defaults through a reference and opened a issue fo... | 2023-06-08T06:38:47 | 2023-06-08T06:38:47 | {
"+1": 1
} | NONE |
vuejs | core | 1,582,156,996 | 8,509 | smallflyman | > I don't think it's a bug, if remove the content that would be a breaking change. you can remove content by disabling the teleport. [see](https://play.vuejs.org/#__DEV__eNqdVE2Pm0AM/SteLpNISWilnrIhathL97CnVuqh6YGASVAGBjEDLUL893rMR0CpdrV7YsZ+fjbPDxrnkOebqkRn6+x0WCS5AY2mzPfHDCBJc1UYaKDAGFqIC5WCILB4nGSfVJof+tzG5ZslvMP4M4... | 2023-06-08T08:45:30 | 2023-06-08T08:45:30 | {} | NONE |
vuejs | core | 1,582,230,663 | 8,519 | tianxiadys | 确实如此,但是同样也要考虑不同框架的编码习惯
对于React,典型的代码如下:
```jsx
function MyComponent() {
const style = {
color: 'red',
fontSize: '20px',
};
return (
<div style={style}>
Hello, world!
</div>
);
}
```
但是对于vue,典型的代码如下:
```vue
<template>
<div class="class1">
Hello, world!
</di... | 2023-06-08T09:39:47 | 2023-06-08T09:40:23 | {} | NONE |
vuejs | core | 1,587,005,119 | 4,339 | xiaobc1234 | 这个特性能用了吗 | 2023-06-12T10:02:15 | 2023-06-12T10:02:15 | {} | NONE |
vuejs | core | 1,587,206,731 | 8,543 | Alfred-Skyblue | That's great, we can use `typesVersions` to differentiate versions less than 5.1. | 2023-06-12T12:07:21 | 2023-06-12T12:07:21 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,589,252,220 | 8,386 | sxzz | /ecosystem-ci run | 2023-06-13T12:51:12 | 2023-06-13T12:51:12 | {} | MEMBER |
vuejs | core | 1,590,415,745 | 8,570 | luvletterldl | https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font `<font>` This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid usin... | 2023-06-14T03:46:55 | 2023-06-14T03:46:55 | {} | NONE |
vuejs | core | 1,584,171,047 | 8,526 | baiwusanyu-c | I don't think it's a bug. In your usage method, in the template, ref will not be unwrapped automatically, you need to access `.value` by yourself
(https://vuejs.org/guide/essentials/reactivity-fundamentals.html#ref-unwrapping-in-templates)
| 2023-06-09T08:21:48 | 2023-06-09T08:23:09 | {} | MEMBER |
vuejs | core | 1,585,044,664 | 8,286 | DeVoresyah | > If understand correctly this issue (which I also ran into) basically means that Vue 3 only supports "trivial" TypeScript types for props.
>
> In my opinion this in fact means that "Vue does not actually support TypeScript (but just a small subset of it)" - while the documentation misstates that it "provides first-... | 2023-06-09T19:33:44 | 2023-06-09T19:33:44 | {} | NONE |
vuejs | core | 1,585,514,559 | 8,531 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-next-template-explorer* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 30165abe523f722dd48b0b7cd54446d7de67244f |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/s... | 2023-06-10T06:25:38 | 2023-06-10T06:25:38 | {} | NONE |
vuejs | core | 1,586,465,214 | 8,543 | Alfred-Skyblue | > That's great! It's exactly what I wanted to do before. However, we need to explore ways to ensure compatibility with TS versions higher than 4.4. Perhaps we can use `typeVersions` to differentiate between TS >= 5.1 and other versions.
If you use typeVersions to handle it, will it cause users to need to modify the ... | 2023-06-12T02:04:43 | 2023-06-12T02:04:43 | {} | MEMBER |
vuejs | core | 1,588,903,683 | 6,194 | yyx990803 | My original line of thought was similar to what @LinusBorg wrote: sing a default value when injecting is relatively uncommon, using a factory function is indeed rare. This is only needed when the user explicitly need a way to avoid unnecessary initialization cost.
Some other aspects:
- It can be confusing if functi... | 2023-06-13T09:27:03 | 2023-06-13T09:27:34 | {} | MEMBER |
vuejs | core | 1,582,120,943 | 7,231 | baiwusanyu-c | I do not recognize this is a bug. Caused by being in `dev` mode, vue exposes some attributes on the component instance proxy object (e.g: props, setupState). This is done to make it easier for developers to check. But in `prod` mode, these properties are not exposed.
I think a better way is to check `$props`
wdyt ? @... | 2023-06-08T08:19:50 | 2023-06-08T08:19:50 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,582,647,243 | 8,524 | Neper98 | i pull u git and it works!

| 2023-06-08T14:09:55 | 2023-06-08T14:09:55 | {} | NONE |
vuejs | core | 1,584,170,508 | 8,522 | Shyam-Chen | ```ts
interface Props extends /* @vue-ignore */ Partial<ExtractPropTypes<VTextField>> {
modelValue: TValue;
parser: (value: TFormattedValue) => TValue;
formatter: (value: TValue) => TFormattedValue;
}
defineProps<Props>();
``` | 2023-06-09T08:21:25 | 2023-06-09T08:21:25 | {
"+1": 1
} | CONTRIBUTOR |
vuejs | core | 1,586,003,267 | 8,468 | sxzz | Currently, Vue disallows dynamic props keys that from TS types. Because Vue's compiler needs to analyze TS types and transform them into the runtime definition of a specific prop, and it cannot be analyzed statically in build time.
| 2023-06-11T03:54:24 | 2023-06-11T03:54:24 | {
"confused": 2
} | MEMBER |
vuejs | core | 1,587,301,106 | 8,547 | vue-bot |
📝 Ran ecosystem CI: [Open](https://github.com//vuejs/ecosystem-ci/actions/runs/5243909409)
| suite | result |
|-------|--------|
| [nuxt](https://github.com/vuejs/ecosystem-ci/actions/runs/5243909409/jobs/9469197319) | :white_check_mark: success |
| [pinia](https://github.com/vuejs/ecosystem-ci/actions/runs/52439094... | 2023-06-12T13:02:35 | 2023-06-12T13:10:52 | {} | CONTRIBUTOR |
vuejs | core | 1,580,633,875 | 8,500 | scscgit | @LinusBorg That documentation doesn't mention anywhere that `key` isn't needed on v-for - it only says so about v-if. Can the docs be updated as a source of truth? (e.g. google finds this SO post https://stackoverflow.com/a/70987261) | 2023-06-07T11:48:58 | 2023-06-07T11:48:58 | {} | NONE |
vuejs | core | 1,582,176,275 | 8,509 | smallflyman | > I don't think it's a bug, if remove the content that would be a breaking change. you can remove content by disabling the teleport. [see](https://play.vuejs.org/#__DEV__eNqdVE2Pm0AM/SteLpNISWilnrIhathL97CnVuqh6YGASVAGBjEDLUL893rMR0CpdrV7YsZ+fjbPDxrnkOebqkRn6+x0WCS5AY2mzPfHDCBJc1UYaKDAGFqIC5WCILB4nGSfVJof+tzG5ZslvMP4M4... | 2023-06-08T08:59:48 | 2023-06-08T09:01:05 | {} | NONE |
vuejs | core | 1,584,266,120 | 8,526 | panstromek | Looks like the problem was leftower state from hot reload (changing to `.value` access) tried to set `value` on raw boolean, that was left from previous version with ref that was assumed to be unwrapped. If I refresh the page, it works correctly (when accessing `.value`).
Thanks for looking at this. | 2023-06-09T09:28:46 | 2023-06-09T09:28:46 | {
"+1": 1
} | NONE |
vuejs | core | 1,588,779,308 | 8,470 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 91aab1bc22a79aaa1205749eac521b59fd7baf00 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2023-06-13T08:13:34 | 2023-06-13T08:13:34 | {} | NONE |
vuejs | core | 1,562,454,964 | 8,409 | Justineo | To temporarily workaround this, prepend the stylesheet with:
```css
* {
animation-duration: 0s;
}
``` | 2023-05-25T07:58:36 | 2023-06-07T05:10:17 | {
"+1": 9
} | MEMBER |
vuejs | core | 1,581,834,062 | 8,409 | baiwusanyu-c | > > keep the default value of `0s`
>
> If I understand correctly, the default value is still changed to `auto` but `getComputedStyle` will return `0s`.
yes 😂 | 2023-06-08T03:26:03 | 2023-06-08T03:26:03 | {} | MEMBER |
vuejs | core | 1,584,233,374 | 8,526 | panstromek | > I don't think it's a bug. In your usage method, in the template, ref will not be unwrapped automatically, you need to access `.value` by yourself (https://vuejs.org/guide/essentials/reactivity-fundamentals.html#ref-unwrapping-in-templates)
I tried that and it generates an error. But doing it in the reproduction di... | 2023-06-09T09:07:43 | 2023-06-09T09:07:43 | {} | NONE |
vuejs | core | 1,585,585,468 | 5,409 | sxzz | /ecosystem-ci run | 2023-06-10T09:38:19 | 2023-06-10T09:38:19 | {} | MEMBER |
vuejs | core | 1,587,316,180 | 8,555 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 519d324ead338cda6966407c69804921a9fa5c7d |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/vue... | 2023-06-12T13:10:32 | 2023-06-12T13:10:32 | {} | NONE |
vuejs | core | 1,588,110,004 | 7,228 | sxzz | Before proceeding, we require more detailed information regarding this PR. Therefore, I will close it for the time being. | 2023-06-12T21:11:39 | 2023-06-12T21:11:39 | {} | MEMBER |
vuejs | core | 1,581,906,384 | 8,515 | baiwusanyu-c | ```
<script setup>
import { ref, getCurrentInstance, toRaw } from 'vue'
const msg = ref('Hello World!')
defineExpose({msg})
const instance = getCurrentInstance();
const handleTestClick = () => {
console.log(instance.exposeProxy.msg)
}
</script>
``` | 2023-06-08T05:18:54 | 2023-06-08T05:19:08 | {} | MEMBER |
vuejs | core | 1,585,580,581 | 6,372 | sxzz | Fixed in #6708. Thanks anyway! | 2023-06-10T09:19:32 | 2023-06-10T09:19:44 | {} | MEMBER |
vuejs | core | 1,586,004,198 | 8,157 | sxzz | Which script do you specifically use? We already transformed all new syntaxes into es2015. See https://unpkg.com/browse/vue@3.3.4/dist/vue.global.js | 2023-06-11T04:02:47 | 2023-06-11T04:02:47 | {} | MEMBER |
vuejs | core | 1,586,397,541 | 8,540 | ymofen | 不好意思,提交错地方了
D10.天地弦
***@***.***
------------------ 原始邮件 ------------------
发件人: "三咲智子 Kevin ***@***.***>;
发送时间: 2023年6月11日(星期天) 下午4:53
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [vuejs/core] 动态创建列 (Issue #8540)
You should r... | 2023-06-12T00:25:33 | 2023-06-12T00:25:33 | {} | NONE |
vuejs | core | 1,587,123,338 | 4,339 | cons2act | 这个特性能用了吗? | 2023-06-12T11:17:42 | 2023-06-12T11:17:42 | {} | NONE |
vuejs | core | 1,587,886,040 | 8,276 | boring-dragon | I am also having the same issue with volar pre release | 2023-06-12T18:47:01 | 2023-06-12T18:47:01 | {
"+1": 1
} | NONE |
vuejs | core | 1,588,121,774 | 7,582 | sxzz | Could you please provide us with more detailed information about this PR? | 2023-06-12T21:20:20 | 2023-06-12T21:20:20 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.