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,061,276,077 | 1,136 | cbdyzj | Same issue when I writing userscript with requirejs. This is my solution.
https://www.npmjs.com/package/vue-umd | 2022-03-08T00:21:08 | 2022-03-08T00:21:08 | {
"+1": 1
} | NONE |
vuejs | core | 1,061,277,097 | 5,541 | sudongyuer | #5537 add edge test case | 2022-03-08T00:23:02 | 2022-03-08T00:23:02 | {} | CONTRIBUTOR |
vuejs | core | 1,061,601,102 | 5,525 | lidlanca | @LinusBorg
I didnt realize #5447 was dev / prod build sensetive.
In that case this issue does share a common root cause.
However i am not sure my pr covers the dev build case. The Ref are not normalized to even hit the fix code path
| 2022-03-08T09:58:37 | 2022-03-08T09:58:37 | {} | CONTRIBUTOR |
vuejs | core | 1,062,739,940 | 5,550 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: 8067f05468fafab37b3c59dd992b0c3b1bd19334
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/622877e7e49ff100075959b9](https://app.netlify.com/sites/vuejs-coverage/deploys/622877e7e49ff100075959b9)
😎 Browse th... | 2022-03-09T09:48:43 | 2022-03-09T09:55:45 | {} | NONE |
vuejs | core | 1,062,778,884 | 5,551 | LinusBorg | Yes. Same limitation applies. If we solve 4294, this will be solved as well. | 2022-03-09T10:32:17 | 2022-03-09T10:32:17 | {} | MEMBER |
vuejs | core | 1,063,389,806 | 5,527 | LinusBorg | You may get it working with coffee if you actually import `defineProps` & `defineEmits` - the Vue package has placeholders exposed for situations when you can't work with the magically global functions. | 2022-03-09T21:28:45 | 2022-03-09T21:28:45 | {} | MEMBER |
vuejs | core | 1,063,584,080 | 5,556 | zscumt123 | in Lifecycle Hooks, 'this' is proxy, eg.
```js
const fnObj = {
// return a function
$forceUpdate: () => () => console.log('fn')
}
const obj = {}
const proxy = new Proxy(obj, {
get(target, key) {
if (fnObj[key]) {
return fnObj[key]()
}
return undefined
}
})
let fn1 = proxy.$forceUp... | 2022-03-10T02:18:05 | 2022-03-10T02:18:05 | {} | CONTRIBUTOR |
vuejs | core | 1,063,365,729 | 5,555 | LinusBorg | That's simply a Typescript limitation, i would say.
I tried to come up with something comparable in plain Typescript, see [this playground](https://www.typescriptlang.org/play?#code/C4TwDgpgBAYglgZwBZQLxQN5QQdzgWwC5tgAnOAOwHMoBfAbgChRIoAhOUgEzUygDMANiGIIylGg0b8ArhQDGwOAHsKURPGQAKSMGKaUAH3acuASmK71CWIhQZGUKKQjAZpNTtd... | 2022-03-09T20:59:43 | 2022-03-10T07:43:32 | {} | MEMBER |
vuejs | core | 1,064,113,305 | 5,560 | LinusBorg | Then let's keep it in those issues.
Here, you are messing with an internal API and you are on your own, at your own risk. | 2022-03-10T14:19:41 | 2022-03-10T14:19:41 | {} | MEMBER |
vuejs | core | 1,064,115,592 | 5,564 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: 471add9465f159c39fac4587fb40f8275bc71677
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/622a24339b2c8600090e6635](https://app.netlify.com/sites/vue-sfc-playground/deploys/622a24339b2c8600090e6635)
... | 2022-03-10T14:21:51 | 2022-03-10T16:17:50 | {} | NONE |
vuejs | core | 1,060,678,798 | 4,344 | uoau | > > > Hi,
> > > I am building a library with vue3 and vite, when i use the library if i use slot i got same issue, i tried the solutions in this thread but i can not fix the issue.
> > > error: `Uncaught TypeError: Cannot read properties of null (reading 'isCE')`
> > > My vite config.js:
> > > ```
> > > import vue... | 2022-03-07T13:19:16 | 2022-03-07T13:19:16 | {} | NONE |
vuejs | core | 1,061,557,885 | 5,525 | LinusBorg | @lidlanca i opened for further evaluation but don't really see the difference to #5447 ? #5447 also only worked in prod/playground, and that's because of the render function inlining. | 2022-03-08T09:07:50 | 2022-03-08T09:07:50 | {} | MEMBER |
vuejs | core | 1,061,904,363 | 4,339 | paama | Thanks @tony-gm, I had already encountered the solution to use the cache directly and also ran into the production mode problem but your subsequent fix for this has solved this for me too. It will keep us going until Vue can add the correct functionality to keep-alive
Many thanks for this! | 2022-03-08T15:31:46 | 2022-03-08T15:31:46 | {} | NONE |
vuejs | core | 1,062,927,203 | 5,111 | Jitlee | 看着知乎的百万年薪大佬们在vue3里面写jsx或tsx实在难受,要是支持这个<script lang="tsx" setup>就好了 | 2022-03-09T13:34:49 | 2022-03-09T13:34:49 | {} | NONE |
vuejs | core | 1,033,360,739 | 5,383 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: 190e76c3e65bcd016b121f3a11d877ba83e29d49
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/622a06e8d838f700088213da](https://app.netlify.com/sites/vue-sfc-playground/deploys/622a06e8d838f700088213da)
... | 2022-02-09T05:16:46 | 2022-03-10T14:13:25 | {} | NONE |
vuejs | core | 1,060,161,481 | 5,521 | sudongyuer | #5533 | 2022-03-07T03:51:26 | 2022-03-07T03:51:26 | {} | CONTRIBUTOR |
vuejs | core | 1,061,316,786 | 5,542 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: b418709e6fe0c8705ce179a3a3055b6b07a0fe11
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/6226b517d5a3c80008ce0cc9](https://app.netlify.com/sites/vuejs-coverage/deploys/6226b517d5a3c80008ce0cc9)
😎 Browse th... | 2022-03-08T01:37:08 | 2022-03-08T01:52:46 | {} | NONE |
vuejs | core | 1,061,446,955 | 5,525 | lidlanca | not a duplicate of #5447
see repro in my [comment ](https://github.com/vuejs/core/issues/5525#issuecomment-1059855276) above the same code doesn't work in vite dev build.
there is a different code generation between dev and prod.
| 2022-03-08T06:16:34 | 2022-03-08T06:16:57 | {} | CONTRIBUTOR |
vuejs | core | 1,061,582,592 | 5,544 | Justineo | Please report this to https://github.com/vuejs/repl. Thank you! | 2022-03-08T09:36:31 | 2022-03-08T09:36:31 | {} | MEMBER |
vuejs | core | 1,062,711,594 | 5,548 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: e69d6e1d4500042f1f43aaa53d96738acdbfbc19
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/622870444a76d80007663ad5](https://app.netlify.com/sites/vue-next-template-explorer/deploys/622... | 2022-03-09T09:16:13 | 2022-03-09T09:17:01 | {} | NONE |
vuejs | core | 1,062,739,714 | 5,550 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: 8067f05468fafab37b3c59dd992b0c3b1bd19334
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/622877e7824f4b00089a4494](https://app.netlify.com/sites/vue-sfc-playground/deploys/622877e7824f4b00089a4494)
... | 2022-03-09T09:48:28 | 2022-03-09T09:50:20 | {} | NONE |
vuejs | core | 1,063,654,155 | 5,558 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: be7a2194d81ceb409128f58b0bba3006d8b8562f
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/62297ef2637f120008769c0c](https://app.netlify.com/sites/vue-sfc-playground/deploys/62297ef2637f120008769c0c)
... | 2022-03-10T04:30:46 | 2022-03-10T04:32:54 | {} | NONE |
vuejs | core | 1,033,360,741 | 5,383 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: 190e76c3e65bcd016b121f3a11d877ba83e29d49
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/622a06e80a22340008fb006b](https://app.netlify.com/sites/vuejs-coverage/deploys/622a06e80a22340008fb006b)
😎 Browse th... | 2022-02-09T05:16:46 | 2022-03-10T14:15:46 | {} | NONE |
vuejs | core | 1,060,210,621 | 5,503 | SnowingFox | 😅你是什么成分 | 2022-03-07T05:30:51 | 2022-03-07T05:30:51 | {} | CONTRIBUTOR |
vuejs | core | 1,061,739,431 | 4,339 | paama | As @tony-gm says, this feature is essential for multi-tab pages where the tabs are instances of the same component and the key is being used to differentiate them. For me it is enough that the include/exclude can match on key as well as name, as the custom caching part is what I would consider advanced functionality. S... | 2022-03-08T12:45:12 | 2022-03-08T12:45:12 | {} | NONE |
vuejs | core | 1,062,336,844 | 5,525 | lidlanca | @LinusBorg ignore this
> The Ref are not normalized to even hit the fix code path
that was due to a `:` binding on the ref when I tested.
The PR does indeed fix this issue for dev mode!
A possible workaround for the current limitation is:
```html
<script setup>
import { ref, computed, onMounted } from... | 2022-03-08T23:05:56 | 2022-03-08T23:05:56 | {
"+1": 8
} | CONTRIBUTOR |
vuejs | core | 1,062,712,067 | 5,548 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: e69d6e1d4500042f1f43aaa53d96738acdbfbc19
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/6228704412b93a000790da6b](https://app.netlify.com/sites/vue-sfc-playground/deploys/6228704412b93a000790da6b)
... | 2022-03-09T09:16:46 | 2022-03-09T09:18:54 | {} | NONE |
vuejs | core | 1,063,183,451 | 4,339 | tony-gm | Since the keep-alive keep bother me a long time. I have a proposal
1. Provide a composoable function `createKeepAliveCache`, return a `KeepAliveCache` object.
```ts
export interface KeepAliveCache {
include: Ref<MatchPattern | undefined>
exclude: Ref<MatchPattern | undefined>
max: Ref<number | string |... | 2022-03-09T17:36:11 | 2022-03-09T17:36:11 | {
"+1": 11
} | NONE |
vuejs | core | 1,064,324,306 | 5,218 | Tofandel | I think I like this proposal better than defineOptions, if <script> behaves like a vue component that accepts props like options that would be amazing, then we could pass options like
```
<script setup :inerit-attrs="false" name="MyComponent" layout="a custom option">
``` | 2022-03-10T17:38:42 | 2022-03-10T17:38:42 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 1,064,540,825 | 5,540 | mgibas | I was just following [this documentation](https://vuejs.org/guide/extras/web-components.html) and assumed that if `defineExpose` default behavior is not documented there us not supported (like slots) it means that this is a bug. Which also makes sense when properties are exposed.
Either way if it's like a triage iss... | 2022-03-10T21:55:26 | 2022-03-10T21:55:26 | {} | NONE |
vuejs | core | 1,060,022,649 | 5,529 | posva | https://github.com/vuejs/core/issues/5524#issuecomment-1059791920. You didn’t change anything… | 2022-03-06T19:18:17 | 2022-03-06T19:18:17 | {} | MEMBER |
vuejs | core | 1,060,161,360 | 5,533 | sudongyuer | #5521 | 2022-03-07T03:51:03 | 2022-03-07T03:51:03 | {} | CONTRIBUTOR |
vuejs | core | 1,061,621,276 | 5,525 | LinusBorg | I'd have to take a closer look, but in dev, the ref would be part of `setupState` so it seemed to me your change would fix the problem. | 2022-03-08T10:20:24 | 2022-03-08T10:20:24 | {} | MEMBER |
vuejs | core | 1,062,650,217 | 5,447 | LinusBorg | Closing this in favor of #5525 as there was additional progress in the issue discussions including a workaround. | 2022-03-09T08:01:26 | 2022-03-09T08:01:26 | {} | MEMBER |
vuejs | core | 1,063,916,475 | 5,561 | ygj6 | Duplicate of https://github.com/vuejs/core/issues/5525 | 2022-03-10T10:47:09 | 2022-03-10T10:47:09 | {} | MEMBER |
vuejs | core | 1,060,781,590 | 5,521 | sudongyuer | > Why would you only delete the effect from one dep, but not the others?
oops, i am so sorry,i think I made a mistake.But i think our repo need add a test about that.And i will add it soon. | 2022-03-07T15:01:34 | 2022-03-07T15:01:34 | {} | CONTRIBUTOR |
vuejs | core | 1,062,747,247 | 5,545 | sudongyuer | #5550 solved | 2022-03-09T09:57:04 | 2022-03-09T09:57:04 | {
"+1": 3
} | CONTRIBUTOR |
vuejs | core | 1,033,360,740 | 5,383 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: 190e76c3e65bcd016b121f3a11d877ba83e29d49
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/622a06e8d103e70009fd31c6](https://app.netlify.com/sites/vue-next-template-explorer/deploys/622... | 2022-02-09T05:16:46 | 2022-03-10T14:11:45 | {} | NONE |
vuejs | core | 1,054,004,492 | 5,022 | yangliguo7 | What I modified is `node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js `
const instance = getExposeProxy(internalInstance) || internalInstance.proxy;
Did I make a mistake ?
| 2022-02-28T08:23:34 | 2022-02-28T11:54:18 | {} | CONTRIBUTOR |
vuejs | core | 1,054,001,594 | 5,022 | yangliguo7 | Thank you for your reply.
Indeed, the clickB is not in target。I only verified this issue in the production environment、Because this problem only appeared on production before。 | 2022-02-28T08:19:50 | 2022-02-28T11:54:22 | {} | CONTRIBUTOR |
vuejs | core | 1,050,615,242 | 5,485 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: 089b4c7e8ec26c3b7ca9facf6c98fd640efd655e
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/621cf926207b7d0008651b7f](https://app.netlify.com/sites/vue-next-template-explorer/deploys/621... | 2022-02-25T07:50:15 | 2022-02-28T16:33:31 | {} | NONE |
vuejs | core | 1,054,962,076 | 5,493 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: 39331bef4e99157fac2be22a71739538de962158
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/621d9232069dc2000791bcde](https://app.netlify.com/sites/vue-next-template-explorer/deploys/621... | 2022-03-01T03:25:42 | 2022-03-01T03:26:22 | {} | NONE |
vuejs | core | 1,056,054,363 | 2,380 | jods4 | @waruyama There are a few quirks.
👉 I feel like there's one option missing from the watch API here. When your source is a reactive object or array it's hardcoded to always be observed _deeply_. Seems to me it should be possible to watch shallowly if you don't ask for `deep`.
👉 `deep` has the side-effect of runn... | 2022-03-02T01:56:40 | 2022-03-02T01:56:40 | {
"+1": 2
} | CONTRIBUTOR |
vuejs | core | 1,056,039,691 | 5,501 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: 70fd6c0b349e3f40827f336e9088c5b3bff160d8
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/6220167dc881df00075c025e](https://app.netlify.com/sites/vue-next-template-explorer/deploys/622... | 2022-03-02T01:29:08 | 2022-03-03T01:15:28 | {} | NONE |
vuejs | core | 1,059,248,378 | 5,521 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: 1cc4d8e8e28c7ffb6ad5b9b71bcb9416c66ececa
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/62222c768a34de0008450461](https://app.netlify.com/sites/vuejs-coverage/deploys/62222c768a34de0008450461)
😎 Browse th... | 2022-03-04T15:12:59 | 2022-03-04T15:18:36 | {} | NONE |
vuejs | core | 1,059,813,751 | 4,994 | xgvargas | First I assume my system is properly configured since it all works while using `setup` function inside a normal `<script lang="coffee">`. Issue only appear when I try to use the nicer `<script setup>` tag.
I'm trying to use `<script setup lang="coffee">` and `defineProps`, `defineEmits` and `defineExpose` they all f... | 2022-03-05T18:46:42 | 2022-03-05T18:46:42 | {} | NONE |
vuejs | core | 1,051,132,604 | 1,414 | hijpax | @blabbath can you explain how you import your components? Please.
I've tried your solution... it isnt work.
* typescript: ^4.5.4
* vite: ^2.8.0
* vue: ^3.2.25 | 2022-02-25T19:27:30 | 2022-02-25T19:27:30 | {} | NONE |
vuejs | core | 999,386,900 | 5,148 | posva | ~~Still unsure of why this is happening only with the router. I tried [creating a version replicating what the router](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbiAgaW1wb3J0IENvbXBvbmVudCBmcm9tICcuL0NvbXAudnVlJ1xuICBpbXBvcnQgUlZpZXcgZnJvbSAnLi9SVmlldy50cydcbiAgaW1wb3J0IHsgc2hhbGxvd1JlZiwgcHJvdmlkZSwgb2... | 2021-12-22T08:34:17 | 2022-02-28T12:56:22 | {
"heart": 1
} | MEMBER |
vuejs | core | 1,054,492,128 | 5,492 | retosteffen | As the vue (3.2.31) update breaks ckeditor I can't really reproduce the bug without including ckeditor. | 2022-02-28T17:28:56 | 2022-02-28T17:28:56 | {} | NONE |
vuejs | core | 1,056,967,334 | 4,294 | edison1105 | > ~How about using keyword extends?~
>
> ```ts
> // sharedProps.ts
> export interface SharedProps {
> foo: string;
> bar?: number;
> }
> ```
>
> ```
> <script lang="ts" setup>
> import { SharedProps } from "./sharedProps.ts";
>
> interface Props extends SharedProps {}
> const props = defineProps<P... | 2022-03-02T14:05:34 | 2022-03-02T14:05:34 | {
"+1": 2,
"confused": 2
} | MEMBER |
vuejs | core | 1,057,625,635 | 5,506 | Justineo | 你对 `<script>` 标签的用法是错误的,1. 有 `src` 就不能写内联代码 2. 初始化代码要放在容器后。 | 2022-03-03T03:19:00 | 2022-03-03T03:19:00 | {} | MEMBER |
vuejs | core | 1,059,830,212 | 5,527 | LinusBorg | I don't think we will support that, no. Coffee script is dead, in my personal opinion.
Of course there are legacy projects using it, but our new APIs should focus on plain JS/TS, which has become excellent.
My take on this. | 2022-03-05T20:56:47 | 2022-03-05T20:57:10 | {
"+1": 5
} | MEMBER |
vuejs | core | 1,054,035,241 | 5,022 | LinusBorg | Oh, your mistake is:
```js
defineExpose(clickB)
```
which should be
```js
defineExpose({
clickB
})
``` | 2022-02-28T09:04:17 | 2022-02-28T11:54:14 | {} | MEMBER |
vuejs | core | 1,054,625,160 | 5,492 | LinusBorg | Likely solved once #5417 is published, but still wanna take a look | 2022-02-28T20:16:04 | 2022-02-28T20:16:04 | {} | MEMBER |
vuejs | core | 1,055,078,755 | 4,866 | llcat | @yjj5855 解决了吗? 我也是碰到了这个问题, 从vite的issue过来的 我的版本是 `"vue": "^3.2.25", "vite": "^2.7.2",` | 2022-03-01T06:39:55 | 2022-03-01T06:39:55 | {} | NONE |
vuejs | core | 1,055,558,611 | 5,499 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: 895b088328b315557860b50b9be0ec3c6e2d077f
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/621e3a278e84ff00070095e7](https://app.netlify.com/sites/vuejs-coverage/deploys/621e3a278e84ff00070095e7)
😎 Browse th... | 2022-03-01T15:22:20 | 2022-03-01T15:28:29 | {} | NONE |
vuejs | core | 1,056,452,317 | 4,182 | huww98 | This issue states "changes to **unrelated** refs should not cause a lazily bound input to reset". But currently changes to **related** refs are not working too. I guess this is related to the fix in ac74e1dd33a45874a96fc13efdaade613c44dd70. Is this expected? If so, maybe we should update the doc to mention this.
```... | 2022-03-02T07:27:27 | 2022-03-02T07:27:27 | {} | NONE |
vuejs | core | 1,058,313,581 | 5,511 | LinusBorg | That's because you define the prop in a way the compiler can not understand.
See docs: https://vuejs.org/api/sfc-script-setup.html#type-only-props-emit-declarations
> As of now, the type declaration argument must be one of the following to ensure correct static analysis:
>
> * A type literal
> * A reference ... | 2022-03-03T17:43:22 | 2022-03-03T17:43:22 | {} | MEMBER |
vuejs | core | 1,047,894,046 | 5,472 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: 414cf91ddd0c67a0bb3d1b9d730e2327d34371b2
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/62220dcd35403800073a86e4](https://app.netlify.com/sites/vue-next-template-explorer/deploys/622... | 2022-02-22T15:09:45 | 2022-03-04T13:02:56 | {} | NONE |
vuejs | core | 1,050,507,363 | 5,484 | xuxchao | >  You may need the correct ts configuration
好的,谢谢。我看了一下确实 ts 修改一下就没问题了。但是我不该配置把 slot 删掉也不会有这个问题,感觉还有更深层次的原因 | 2022-02-25T04:19:47 | 2022-02-25T04:19:47 | {} | NONE |
vuejs | core | 1,052,410,557 | 4,344 | mszkb | > Using the npm link is the primary reason as the host application would try to use the vue from the linked library. Add these two lines to the vue.config.js of the host application.
>
> ```
> chainWebpack(config) {
> config.resolve.symlinks(false)
> config.resolve.alias.set( 'vue', path.resolve('./node... | 2022-02-26T18:17:25 | 2022-02-26T18:17:33 | {
"hooray": 1
} | NONE |
vuejs | core | 1,053,749,152 | 1,033 | K3TH3R | I was playing with Storybook's new Interaction Testing (Vue/Vite builder) and I started seeing these issues about JSX as well in my Vue components. Upon uninstalling the dependencies (and re-installing the `node_modules` folder) the errors disappeared for me as well. | 2022-02-28T00:50:02 | 2022-02-28T00:50:02 | {} | NONE |
vuejs | core | 1,055,558,615 | 5,499 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: 895b088328b315557860b50b9be0ec3c6e2d077f
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/621e3a2754a189000763beef](https://app.netlify.com/sites/vue-next-template-explorer/deploys/621... | 2022-03-01T15:22:20 | 2022-03-01T15:22:58 | {} | NONE |
vuejs | core | 1,055,671,416 | 5,497 | posva | Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the [forum](http://forum.vuejs.org/), the [Discord server](https://vue-land.js.org/) or [StackOverflow](http://stackoverflow.com/tags/vue.js). | 2022-03-01T17:16:37 | 2022-03-01T17:16:37 | {} | MEMBER |
vuejs | core | 1,058,878,984 | 5,511 | skimhugo | @LinusBorg Thanks! | 2022-03-04T06:38:15 | 2022-03-04T06:38:15 | {} | NONE |
vuejs | core | 1,059,793,027 | 5,522 | posva | @yyx990803 i think you’re the only one who can change this | 2022-03-05T16:34:38 | 2022-03-05T16:34:38 | {} | MEMBER |
vuejs | core | 1,059,880,415 | 5,165 | peamed | Whether the problem has been solved and repaired, and whether the latest version has been solved. At present, I use "Vue": "^ 3.2.13"; The problem still exists | 2022-03-06T02:21:40 | 2022-03-06T02:21:40 | {} | NONE |
vuejs | core | 1,050,662,751 | 5,486 | guaijie | drop | 2022-02-25T09:00:33 | 2022-02-25T09:00:33 | {} | CONTRIBUTOR |
vuejs | core | 1,050,973,183 | 5,487 | LinusBorg | That would then be problem with webpack, or at most Vue-cli. Not Vue. | 2022-02-25T15:53:31 | 2022-02-25T15:53:31 | {} | MEMBER |
vuejs | core | 1,051,610,689 | 5,242 | Xing-He | After searching Element-plus's issues, I found that it may be an element issue. Now, I have to ignore rendering components using teleport at SSR, instead of rendering by CSR after mounted. | 2022-02-26T05:31:27 | 2022-02-26T05:31:27 | {} | NONE |
vuejs | core | 1,041,030,607 | 5,435 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: c2378bd987e41c9937f27902908c28aa4f4e38f3
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/621b13a3bec4e90007c44137](https://app.netlify.com/sites/vuejs-coverage/deploys/621b13a3bec4e90007c44137)
😎 Browse th... | 2022-02-16T02:30:48 | 2022-02-27T06:07:00 | {} | NONE |
vuejs | core | 1,054,058,281 | 5,022 | yangliguo7 | It's really embarrassing. I'm sorry to waste your time. I really appreciate your help in fixing this problem | 2022-02-28T09:28:45 | 2022-02-28T11:54:10 | {} | CONTRIBUTOR |
vuejs | core | 1,053,974,101 | 5,022 | yangliguo7 | Thank you for your reply
I use your code locally to modify nodemodules to test whether the issue has been fix
I debugger the code
https://github.com/vuejs/core/blob/12e6d2d6ac93ae960262f4f6ada2121bac78d413/packages/runtime-core/src/component.ts#L908
the key not in target.
this is my test code。
```
<template... | 2022-02-28T07:41:21 | 2022-02-28T11:54:36 | {} | CONTRIBUTOR |
vuejs | core | 1,054,619,007 | 5,492 | LinusBorg | Reproduction: https://jsfiddle.net/Linusborg/wdb4scfv/
| 2022-02-28T20:08:42 | 2022-02-28T20:08:42 | {
"heart": 1
} | MEMBER |
vuejs | core | 1,054,858,420 | 5,472 | crutchcorn | @LinusBorg I actually wrote a lot about that here
https://github.com/vuejs/core/issues/4611
That said, how about we export this under a namespace similar to how we export SSR utils? | 2022-03-01T00:46:07 | 2022-03-01T00:50:44 | {} | NONE |
vuejs | core | 1,058,804,236 | 2,077 | tony-gm | @yuanjinyong I did the similar trying before, but the __v_cache only exposed in develop mode, can not used in production. | 2022-03-04T04:00:39 | 2022-03-04T04:00:39 | {} | NONE |
vuejs | core | 1,059,248,385 | 5,521 | netlify[bot] | ✔️ Deploy Preview for *vue-next-template-explorer* ready!
🔨 Explore the source changes: 1cc4d8e8e28c7ffb6ad5b9b71bcb9416c66ececa
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-next-template-explorer/deploys/62222c7662f9b5000717115b](https://app.netlify.com/sites/vue-next-template-explorer/deploys/622... | 2022-03-04T15:12:59 | 2022-03-04T15:13:48 | {} | NONE |
vuejs | core | 1,059,274,823 | 5,519 | LinusBorg | plain objects and arrays are not unwrapped in templates. so to get the computed's value, you have to actually do this:
```html
{{ arr[0].value }}
```
currently, you print the whole computed object, which will be run through JSON.stringify(), which is why you end up with the quotes. | 2022-03-04T15:43:07 | 2022-03-04T15:43:07 | {} | MEMBER |
vuejs | core | 1,059,792,820 | 5,523 | posva | Since v show changed the display style property, isn’t this just expected? The component needs to have a root node or to explicitly use v-bind=$attrs | 2022-03-05T16:32:55 | 2022-03-05T16:32:55 | {
"rocket": 1
} | MEMBER |
vuejs | core | 1,050,818,550 | 5,242 | Xing-He | - SSR + Vite + Vue3 + Element-Plus
Same error with teleport, but i got an "null" access error as below.
and then, all router operations will be a failure
- runtime-core.esm-bundler.js#L4807
```js
if (shapeFlag & 64 /* TELEPORT */) {
vnode.type.remove(vnode, parentComponent, parentSuspense, optimized, ... | 2022-02-25T12:38:09 | 2022-02-25T12:38:09 | {} | NONE |
vuejs | core | 1,054,962,075 | 5,493 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: 39331bef4e99157fac2be22a71739538de962158
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/621d92324127310008ca1c0e](https://app.netlify.com/sites/vue-sfc-playground/deploys/621d92324127310008ca1c0e)
... | 2022-03-01T03:25:42 | 2022-03-01T03:28:12 | {} | NONE |
vuejs | core | 1,058,749,327 | 5,511 | skimhugo | @LinusBorg is there any method for me to link it to a outside interface? because I need interface to constrain other code ,and I want there are only one interface | 2022-03-04T01:58:09 | 2022-03-04T01:58:09 | {} | NONE |
vuejs | core | 1,054,962,072 | 5,493 | netlify[bot] | ✔️ Deploy Preview for *vuejs-coverage* ready!
🔨 Explore the source changes: 39331bef4e99157fac2be22a71739538de962158
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vuejs-coverage/deploys/621d9232459f700007adf2c4](https://app.netlify.com/sites/vuejs-coverage/deploys/621d9232459f700007adf2c4)
😎 Browse th... | 2022-03-01T03:25:42 | 2022-03-01T03:30:49 | {} | NONE |
vuejs | core | 1,051,238,364 | 5,488 | LinusBorg | Duplicate of #5447 | 2022-02-25T20:35:17 | 2022-02-25T20:35:32 | {} | MEMBER |
vuejs | core | 1,053,542,558 | 5,471 | loilo | > To pass a "non-existant" value, pass `null` instead.
Thank you for the clarification @posva!
> It would be nice if Vue at least didn't show such misleading warnings.
I second this. That `number | undefined` is not possible doesn't really bug me, but the error message mislead me into thinking this was a compi... | 2022-02-27T12:37:02 | 2022-02-27T12:37:02 | {} | NONE |
vuejs | core | 1,057,782,425 | 5,505 | LinusBorg | > Those subcomponents I mentioned didn't use any slots and didn't have templates so I assumed that the runtime compiler would treat their inner html as the template.
Slot usage happens in the template of a component so "the components don't use any slots" is not something the compiler would know if the components do... | 2022-03-03T08:08:03 | 2022-03-03T08:08:03 | {} | MEMBER |
vuejs | core | 1,058,381,585 | 4,403 | benwills | I just ran into this same issue and it took me a couple hours to figure out that this is an unsupported edge case; I only figured it out after putting it together from this and some other GitHub issues.
I want to suggest updating the documentation to include a reference to this unsupported edge case, especially sinc... | 2022-03-03T18:55:46 | 2022-03-03T18:55:46 | {} | NONE |
vuejs | core | 1,058,873,818 | 5,511 | LinusBorg | Only the "normal" way to define props: with an actual object:
```ts
const props = defineProps({
tile: {
type: Boolean as PropType<BadgeProps['tile']>; // the casting is unnecessary here as `tile` is already of a primitive type.
}
})
``` | 2022-03-04T06:26:44 | 2022-03-04T06:27:26 | {} | MEMBER |
vuejs | core | 1,059,275,149 | 5,519 | posva | More info https://vuejs.org/guide/essentials/reactivity-fundamentals.html#stateful-methods | 2022-03-04T15:43:30 | 2022-03-04T15:43:30 | {
"confused": 1
} | MEMBER |
vuejs | core | 1,053,236,393 | 5,490 | lidlanca | `is` attribute is needed(compile time) for `<component>` to be considered a dynamic component.
```html
<script setup>
defineProps(['is'])
</script>
<template>
<pre>$attrs: {{ JSON.stringify($attrs) }}</pre>
<component v-bind="$attrs" :is=$props.is>
<slot />
</component>
</template>
``` | 2022-02-27T06:35:58 | 2022-02-27T06:35:58 | {
"+1": 3
} | CONTRIBUTOR |
vuejs | core | 1,053,945,349 | 5,022 | yangliguo7 | hi @LinusBorg
I tried to use your method to solve my problem by ` const instance =
(getExposeProxy(internalInstance) as ComponentPublicInstance) ||
internalInstance.proxy`
Unfortunately, this does not fix the problem https://github.com/vuejs/core/issues/5018#issuecomment-982352643 | 2022-02-28T06:55:11 | 2022-02-28T11:54:44 | {} | CONTRIBUTOR |
vuejs | core | 1,055,104,699 | 4,866 | yjj5855 | @llcat setup script 和 普通script 中的数据不互通目前看来, 一个vue文件只能写一种script, 文档中没有明确说明容易给人错觉 | 2022-03-01T07:21:16 | 2022-03-01T07:21:16 | {} | NONE |
vuejs | core | 1,055,696,589 | 2,380 | waruyama | @jods4 Can you provide a hint how to implement custom traversal?
Background: I intenden to use `shallowReactive()` for an array of points that changes rapidly. Each point references a rather deep object that is not meant to be reactive, so performance suffered quite a bit. All I am interested in is if the entries i... | 2022-03-01T17:46:26 | 2022-03-01T17:46:26 | {} | NONE |
vuejs | core | 1,057,369,333 | 5,505 | LinusBorg | So to be clear: if you want to define templates for subcomponents, you can't do that from within a parent component's template - you either provide a string template in the sub-component, or define the template in a `<template>` block somewhere *outside* of the app.
See: https://vuejs.org/api/options-rendering.html#... | 2022-03-02T20:56:36 | 2022-03-02T20:56:36 | {} | MEMBER |
vuejs | core | 1,053,598,418 | 5,489 | posva | Thanks, moved to the internal repo. | 2022-02-27T15:57:02 | 2022-02-27T15:57:02 | {} | MEMBER |
vuejs | core | 1,053,988,654 | 5,022 | LinusBorg | What key is not in target? I would expect that clickB is in target, clickA not. and that's what my test case verifies, pretty much, no? | 2022-02-28T08:03:41 | 2022-02-28T11:54:31 | {} | MEMBER |
vuejs | core | 1,054,376,263 | 5,492 | 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). In other words, we need a repro without ckeditor to check what the issue. | 2022-02-28T15:32:01 | 2022-02-28T15:32:01 | {} | MEMBER |
vuejs | core | 1,056,685,041 | 5,500 | posva | Duplicate of https://github.com/vuejs/core/issues/5266 | 2022-03-02T09:36:19 | 2022-03-02T09:36:19 | {} | MEMBER |
vuejs | core | 1,056,039,707 | 5,501 | netlify[bot] | ✔️ Deploy Preview for *vue-sfc-playground* ready!
🔨 Explore the source changes: 70fd6c0b349e3f40827f336e9088c5b3bff160d8
🔍 Inspect the deploy log: [https://app.netlify.com/sites/vue-sfc-playground/deploys/6220167d82560f00070461bf](https://app.netlify.com/sites/vue-sfc-playground/deploys/6220167d82560f00070461bf)
... | 2022-03-02T01:29:10 | 2022-03-03T01:16:55 | {} | NONE |
vuejs | core | 1,058,306,291 | 5,512 | LinusBorg | 3rd party library that mess with the DOM that is controlled by Vue can break Vue's rendering in many ways. Some of those libararies can be made to work with Vue when taking care of a few things, some can not.
We will not debug third-party libraries. you can ask the community for help at chat.vuejs.org | 2022-03-03T17:34:53 | 2022-03-03T17:34:53 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.