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,129,617,023 | 5,937 | liulinboyi | > Also need a test case
Test has been added, All done👌. | 2022-05-18T06:21:07 | 2022-05-18T06:21:07 | {} | MEMBER |
vuejs | core | 1,131,104,620 | 5,933 | PatrickChen928 | maybe you can add `div` element for the root node. | 2022-05-19T03:14:01 | 2022-05-19T03:14:01 | {
"+1": 2,
"-1": 1
} | NONE |
vuejs | core | 1,131,255,775 | 5,939 | cawa-93 | @ChpShy
> I'm confused, why not use `declare type InferDefault<P, T> = T | ((props: P) => T) ` instead of `declare type InferDefault<P, T> = T extends null | number | string | boolean | symbol | Function ? T | ((props: P) => T) : (props: P) => T;`. because of `never`?
According to [docs](https://vuejs.org/guide/com... | 2022-05-19T06:09:15 | 2022-05-19T06:10:33 | {} | CONTRIBUTOR |
vuejs | core | 1,131,586,512 | 5,957 | snvtac | > > 请提供更详细的信息。
>
> 使用nvm切换node版本,12.22.8,然后请顺序执行 npm init vite@latest my-vue-app --template vue cd my-vue-app npm install npm run build
[vite:vue] Failed to resolve vue/compiler-sfc.
@vitejs/plugin-vue requires vue (>=3.2.25) to be present in the dependency tree.
error during build:
Error: Failed to resolve ... | 2022-05-19T11:45:55 | 2022-05-19T11:45:55 | {} | NONE |
vuejs | core | 1,131,587,258 | 5,957 | snvtac | > > 请提供更详细的信息。
>
> 使用nvm切换node版本,12.22.8,然后请顺序执行 npm init vite@latest my-vue-app --template vue cd my-vue-app npm install npm run build
使用 vue 3.2.33 版本无此问题 | 2022-05-19T11:46:48 | 2022-05-19T11:46:48 | {} | NONE |
vuejs | core | 1,128,230,701 | 5,215 | yyx990803 | This is unnecessary in most cases, usually these are APIs that were previously needed by other files but later unused due to refactor - but they don't cause any difference in the final built files unless the `export` is accidentally re-exported as a public API. | 2022-05-16T23:19:37 | 2022-05-16T23:19:37 | {} | MEMBER |
vuejs | core | 1,128,308,151 | 5,808 | yyx990803 | closed via #5810 | 2022-05-17T01:36:05 | 2022-05-17T01:36:05 | {} | MEMBER |
vuejs | core | 1,128,457,508 | 5,640 | corygabrielsen | What is the resolution on this? I am facing this issue as well? It works fine when I run the dev version, but when I run the production version, it is not able. Can I configure webpack to include all the pngs? | 2022-05-17T06:17:40 | 2022-05-17T06:17:40 | {} | NONE |
vuejs | core | 1,129,461,075 | 5,693 | qyqiang | > > 我也遇到了相同的问题,请问有什么合适的解决方案吗
>
> 可以试一下这个[beta版本](https://www.npmjs.com/package/vue/v/3.2.34-beta.1)😉。
昨天就试了 并没有解决 | 2022-05-18T01:02:30 | 2022-05-18T01:02:30 | {} | NONE |
vuejs | core | 1,129,533,446 | 2,970 | yyx990803 | Can no longer reproduce - closing as stale | 2022-05-18T03:42:14 | 2022-05-18T03:42:14 | {} | MEMBER |
vuejs | core | 1,129,539,046 | 5,937 | liulinboyi | No problem.
---Original---
From: "Evan ***@***.***>
Date: Wed, May 18, 2022 08:06 AM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [vuejs/core] feat(compiler-sfc): support syntax export { default} from '...' (PR #5937)
Also need a test case
—
Reply to this email dir... | 2022-05-18T03:56:45 | 2022-05-18T03:56:45 | {} | MEMBER |
vuejs | core | 1,131,378,993 | 5,954 | LinusBorg | I'll remove the bug label for now as I have a feeling this was an intentional choice, yet I think we can look deeper into it to see how this experience can be improved.
For now, one would make sure that `reactive()/ref()` receive Maps whose generic types are already unwrapped:
```ts
// bad
const map = reactive(... | 2022-05-19T08:10:25 | 2022-05-19T08:10:25 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,127,485,530 | 5,928 | DingpingZhang | > It will change in the [example](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiwgcmVhY3RpdmUsIHdhdGNoRWZmZWN0IH0gZnJvbSAndnVlJ1xuXG5jb25zdCBhcnIgPSByZWFjdGl2ZShbXSlcbndhdGNoRWZmZWN0KCgpID0+IHtcbiAgZGVidWdnZXJcbiAgY29uc29sZS5sb2coYXJyLmluZGV4T2YoJzEyMzQ1NicpKVxufSlcblxuY29uc3QgY2xpY2sgPSA... | 2022-05-16T10:15:30 | 2022-05-16T10:15:30 | {} | NONE |
vuejs | core | 1,129,897,615 | 5,540 | m-ghaoui | ~~Why is his marked as as feature request? This is most definitely a bug. Right now we work around it by defining a useless property and listen to it in order to trigger the method that does not get exposed.~~
I stand corrected. See below. | 2022-05-18T11:34:19 | 2022-05-18T13:52:37 | {} | NONE |
vuejs | core | 1,130,717,873 | 5,939 | yyx990803 | Ah ok I got confused myself. Can you add a test case in `setupHelpers.test-d.ts`? | 2022-05-18T23:21:48 | 2022-05-18T23:21:48 | {} | MEMBER |
vuejs | core | 1,131,419,414 | 5,956 | miguelliar | Oh, nice to know!
Thank you very much 😊 | 2022-05-19T08:47:49 | 2022-05-19T08:47:49 | {} | NONE |
vuejs | core | 1,131,618,346 | 5,958 | liulinboyi | Starting with `v3.2.34-beta.1`, the compiled product is es2020, which requires node version node 14+ and uses new javascript features such as `?.`.
Related commit [build: output es2020 (target node 14+) for cjs/server builds](https://github.com/vuejs/core/commit/cbeb9f2d7859edbaceee0c73d2b33c578a1ffb58). | 2022-05-19T12:22:10 | 2022-05-19T12:22:10 | {} | MEMBER |
vuejs | core | 1,131,618,986 | 5,957 | liulinboyi | > > > 请提供更详细的信息。
> >
> >
> > 使用nvm切换node版本,12.22.8,然后请顺序执行 npm init vite@latest my-vue-app --template vue cd my-vue-app npm install npm run build
>
> 使用 vue 3.2.33 版本无此问题
解决办法就是升级node版本到14+。 | 2022-05-19T12:22:52 | 2022-05-19T12:22:52 | {} | MEMBER |
vuejs | core | 1,128,708,602 | 5,937 | liulinboyi | [Preview](https://deploy-preview-5937--vue-sfc-playground.netlify.app/#__DEV__eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aDE+e3sgY291bnQgfX08L2gxPlxuICA8YnIgLz5cbiAgPENvbXA+PC9Db21wPlxuPC90ZW1wbGF0ZT5cblxuPHNjcmlwdD4gICAgICAgXG5leHBvcnQgeyBkZWZhdWx0IH0gZnJvbSAnLi9hcHAuanMnXG48L3NjcmlwdD5cblxuPHN0eWxlIHNjb3BlZD48L3N0eWxlPlxuIi... | 2022-05-17T10:39:12 | 2022-05-17T10:39:12 | {} | MEMBER |
vuejs | core | 1,129,394,003 | 5,695 | unshame | Any chance to get this merged? | 2022-05-17T22:47:27 | 2022-05-17T22:47:27 | {} | NONE |
vuejs | core | 1,129,514,722 | 2,574 | yyx990803 | Closing as stale | 2022-05-18T02:57:37 | 2022-05-18T02:57:37 | {} | MEMBER |
vuejs | core | 1,120,173,388 | 5,367 | AIREM-Richard | I found the problem too, I have two questions:
1. Why a version mismatch occured?
2. Why the mismatch cause this problem?
If anyone have got the answer? | 2022-05-07T09:21:04 | 2022-05-18T08:23:46 | {} | NONE |
vuejs | core | 1,131,281,991 | 5,954 | LinusBorg | @liulinboyi objects in reactive Maps will be reactive as well, and thus refs inside of them will be unwrapped, but the type doesn't reflect that - that's the problem. | 2022-05-19T06:30:19 | 2022-05-19T06:30:19 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,131,617,905 | 5,937 | liulinboyi | =
> https://github.com/vuejs/core/blob/523f6aa363334eade6316b55340656eac35c5c64/packages/compiler-sfc/src/rewriteDefault.ts#L69
>
>
> This is breaking with depcheck
> <img alt="image" width="615" src="https://user-images.githubusercontent.com/34294346/169277705-1db7ae8b-4eed-43ce-8216-9ab46bbe79cc.png">
> @yy... | 2022-05-19T12:21:40 | 2022-05-19T12:21:40 | {} | MEMBER |
vuejs | core | 1,131,741,135 | 5,957 | mbrodala | Ah sorry, just noticed that the project with this error indeed uses Node 12. I'll retry after updating to Node 14 here. | 2022-05-19T14:07:54 | 2022-05-19T14:07:54 | {} | NONE |
vuejs | core | 1,128,352,865 | 5,767 | molvqingtai | In the same problem, I use elements-plus, the console has hmr log, but the page will not be updated | 2022-05-17T02:57:41 | 2022-05-17T02:58:18 | {} | NONE |
vuejs | core | 1,128,393,950 | 5,928 | yyx990803 | This is expected behavior - `watchEffect` always runs whenever any of its dependencies change.
If you want to avoid running an effect when a certain condition doesn't change, use `watch`:
```js
watch(() => arr.indexOf('123456'), index => {
// only runs if index changes
})
``` | 2022-05-17T04:20:59 | 2022-05-17T04:20:59 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,128,852,150 | 4,294 | yyx990803 | Note: Please stop posting messages like "any news?" If there is an update, you will see it here. No updates means no updates. Spamming the same message over and over again will **not** help it get resolved earlier. | 2022-05-17T13:11:49 | 2022-05-17T13:11:49 | {
"+1": 57,
"-1": 3,
"eyes": 18,
"heart": 6,
"laugh": 4
} | MEMBER |
vuejs | core | 1,129,912,330 | 5,540 | mgibas | @m-ghaoui even though I created this issue I can see how this is simply a new feature :)
for time being I use this composable to get to the host:
```
import { getCurrentInstance, ref, onMounted } from 'vue'
export function useHost() {
const host = ref(null)
onMounted(() => {
host.value = getCurrentI... | 2022-05-18T11:51:40 | 2022-05-18T11:51:40 | {} | NONE |
vuejs | core | 1,129,722,065 | 5,939 | cawa-93 | I'm sorry, but what do you mean? As far as I can see the type for props.id is displayed as a string. Just like derivation for non-primitive types https://www.typescriptlang.org/play?#code/CYUwxgNghgTiAEAXAngBwQOQPaIKoDtQAzAS3xGAB4AVAPngF55r4QAPREQgZ3gFdCIUuWDwA-PHIA3EDHgAuZgG4AsACh160JFgIU6eAEl8RWQBEhUPhESUACgBpm9Ji3ac... | 2022-05-18T08:27:38 | 2022-05-19T06:11:13 | {} | CONTRIBUTOR |
vuejs | core | 1,131,602,975 | 5,958 | netlify[bot] | ### <span aria-hidden="true">👷</span> Deploy request for *vue-sfc-playground* pending review.
[Visit the deploys page to approve it](https://app.netlify.com/sites/vue-sfc-playground/deploys)
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit... | 2022-05-19T12:04:43 | 2022-05-19T12:04:43 | {} | NONE |
vuejs | core | 1,131,818,776 | 5,959 | zhmushan | I suspect this bug was introduced in https://github.com/vuejs/core/commit/ccf92564d339cdee3947aecfba2e861c88864883 | 2022-05-19T14:48:10 | 2022-05-19T14:48:10 | {
"+1": 3
} | CONTRIBUTOR |
vuejs | core | 1,128,660,515 | 5,751 | qyqiang | 我也遇到了 你是怎么解决的 | 2022-05-17T09:50:16 | 2022-05-17T09:50:16 | {} | NONE |
vuejs | core | 1,128,662,520 | 5,928 | Justineo | Your code literally mean "run `console.log(arr.indexOf('123456'))`" when `arr` is changed, while your intended behavior is "run `console.log(arr.indexOf('123456'))`" when `arr.indexOf('123456')` is changed. I don't think we can/should infer this from `watchEffect`. | 2022-05-17T09:52:29 | 2022-05-17T09:52:29 | {} | MEMBER |
vuejs | core | 1,128,709,771 | 5,935 | liulinboyi | [Preview](https://deploy-preview-5937--vue-sfc-playground.netlify.app/#__DEV__eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aDE+e3sgY291bnQgfX08L2gxPlxuICA8YnIgLz5cbiAgPENvbXA+PC9Db21wPlxuPC90ZW1wbGF0ZT5cblxuPHNjcmlwdD4gICAgICAgXG5leHBvcnQgeyBkZWZhdWx0IH0gZnJvbSAnLi9hcHAuanMnXG48L3NjcmlwdD5cblxuPHN0eWxlIHNjb3BlZD48L3N0eWxlPlxuIi... | 2022-05-17T10:40:29 | 2022-05-17T10:40:29 | {} | MEMBER |
vuejs | core | 1,118,310,507 | 4,294 | makshark | hi, any news about this? people with vite has a temporary solution with the plugin, but what about vue-cli? | 2022-05-05T08:43:25 | 2022-05-17T13:08:57 | {
"+1": 4
} | NONE |
vuejs | core | 1,129,432,620 | 5,940 | yyx990803 | Can you please add a test case for this in `componentProps.spec.ts`? | 2022-05-18T00:05:11 | 2022-05-18T00:05:11 | {} | MEMBER |
vuejs | core | 1,131,246,342 | 5,954 | liulinboyi | Use `ref`, when get the value, if the target is `Array` and `key` is `Integer` will return `res` other cases will return `res.value`.

| 2022-05-19T05:56:55 | 2022-05-19T05:56:55 | {} | MEMBER |
vuejs | core | 1,119,413,181 | 5,408 | yyx990803 | This is technically a feature so grouping it under 3.3 for now | 2022-05-06T09:11:33 | 2022-05-06T09:11:33 | {
"eyes": 1
} | MEMBER |
vuejs | core | 1,120,139,352 | 5,877 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 40906363284cdeffe379a02777ef0eb12bdf37ce |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-05-07T05:37:36 | 2022-05-07T05:38:33 | {} | NONE |
vuejs | core | 1,121,769,829 | 2,527 | yyx990803 | Thanks for the PR but the optimizations do not provide substantial improvements. Closing as stale. | 2022-05-10T01:29:20 | 2022-05-10T01:29:20 | {} | MEMBER |
vuejs | core | 1,117,564,291 | 5,851 | Senhaji-Rhazi-Hamza | I do agree to have this possibility would be just awesome, I love Vue and I love python, I tolerate JS, but just the idea of using python with Vue is exciting, it's a paradigm shift level idea, that will bring with it a huge mature community | 2022-05-04T16:34:24 | 2022-05-05T11:53:48 | {} | NONE |
vuejs | core | 1,119,479,607 | 5,871 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | c25832c80b1e363dd35286d9e1f9b132e843b0e9 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-05-06T10:35:34 | 2022-05-06T10:38:58 | {} | NONE |
vuejs | core | 1,120,212,892 | 5,875 | MinSomai | AFAIK.
`v-model.lazy` reflects changes only after `@changed` event or after focus is lost in case of input fields.
If it is not your case. Please, do elaborate more.
| 2022-05-07T13:47:08 | 2022-05-07T13:47:08 | {} | NONE |
vuejs | core | 1,121,773,408 | 2,890 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-next-template-explorer* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 251af629800fb3cbc0f5168713d1b6cc5fa3d7ea |
|<span aria-hidden="true">🔍</span> Latest deploy l... | 2022-05-10T01:36:49 | 2022-05-10T01:38:04 | {} | NONE |
vuejs | core | 1,119,842,224 | 5,867 | daniesg | ~~but I'm not getting a warning at all in dev. This bug was hard to figure out for us especially because I could only debug in prod without vue dev tools (disabled in prod). There was no warning in dev at all~~ nvm, I see that this case is being fixed in the above commit. thanks! | 2022-05-06T17:36:00 | 2022-05-06T17:39:56 | {} | NONE |
vuejs | core | 1,120,139,341 | 5,877 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 40906363284cdeffe379a02777ef0eb12bdf37ce |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-05-07T05:37:30 | 2022-05-07T05:40:13 | {} | NONE |
vuejs | core | 1,120,148,186 | 5,165 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 7f3a64e0e50ec9887742c69db6b0a3daad8ffd80 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-05-07T06:47:02 | 2022-05-07T06:48:07 | {} | NONE |
vuejs | core | 1,120,536,615 | 2,693 | oliverzy | Since in Volar 0.34.0, original typed slot support has been removed because of performance reason, could we move this PR forward. I feel this is the last piece of Vue TypeScript tooling support.
It's a big pain for any large scale Vue project. | 2022-05-09T01:23:07 | 2022-05-09T01:23:07 | {
"+1": 20,
"eyes": 2
} | NONE |
vuejs | core | 1,120,890,212 | 5,878 | xiziliang | > > 这是不支持的。`defineProps`并且`defineEmits()`是只能在脚本设置块中处理的编译器提示。
> > 您需要从函数中返回普通对象(或单独导出它们),然后将它们传递给消费组件`defineProps()`并在其中传递。`defineEmits()`
>
> 我认为它支持使用`defineProps`,`defineEmits()` 而不仅仅是在脚本设置块中。看options的方式,我们可以使用mixins`props, computed, methods, mounted`之类的。为什么它不支持`props, emits` ,只支持`methods, mounted`设置方式?
or, you... | 2022-05-09T09:52:45 | 2022-05-09T09:52:45 | {} | NONE |
vuejs | core | 1,118,448,039 | 5,864 | posva | You should be able to use a `key` to force the recreation of the teleport | 2022-05-05T11:34:57 | 2022-05-05T11:34:57 | {} | MEMBER |
vuejs | core | 1,119,485,363 | 5,872 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 853b7df5cc409e5db2badb38f9e3f671f5b72e85 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-05-06T10:44:16 | 2022-05-06T10:45:06 | {} | NONE |
vuejs | core | 1,120,396,400 | 5,870 | SachinAgarwal1337 | +1
This broke our ionic app | 2022-05-08T10:59:40 | 2022-05-08T10:59:40 | {} | NONE |
vuejs | core | 1,119,401,858 | 3,791 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 40ae22263985a2550fc0c1c4694e74267890c699 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-05-06T08:57:31 | 2022-05-06T09:02:51 | {} | NONE |
vuejs | core | 1,036,323,756 | 5,408 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 05cea29383289e52dcc1e1185d760747808f5861 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-02-11T15:19:10 | 2022-05-06T09:06:03 | {} | NONE |
vuejs | core | 1,119,485,358 | 5,872 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 853b7df5cc409e5db2badb38f9e3f671f5b72e85 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-05-06T10:44:16 | 2022-05-06T10:49:43 | {} | NONE |
vuejs | core | 1,120,128,249 | 5,876 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 836d6d4bb261f5cb6e12970b96030bfac7c25e13 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-05-07T04:04:17 | 2022-05-07T04:14:48 | {} | NONE |
vuejs | core | 1,120,815,599 | 5,882 | LinusBorg | You can use TroisJS as an example: https://github.com/troisjs/trois/blob/master/src/core/Renderer.ts | 2022-05-09T08:42:06 | 2022-05-09T08:42:06 | {} | MEMBER |
vuejs | core | 1,121,770,196 | 2,681 | yyx990803 | Closing as stale | 2022-05-10T01:30:09 | 2022-05-10T01:30:09 | {} | MEMBER |
vuejs | core | 1,121,771,603 | 2,492 | yyx990803 | I think this is a very rare edge case and doesn't meet the criteria for a dedicated warning. | 2022-05-10T01:32:59 | 2022-05-10T01:32:59 | {} | MEMBER |
vuejs | core | 1,118,853,806 | 1,414 | allenhwkim | webpack4 webpack.config.js. ref. https://v4.webpack.js.org/concepts/loaders/
For webpack5, ref. https://webpack.js.org/concepts/loaders/
```
{
...
module: {
rules: [
{
test: /\.vue$/,
use: [{
loader: 'vue-loader',
options: {
compilerOptions: {
... | 2022-05-05T17:19:50 | 2022-05-05T17:27:09 | {} | NONE |
vuejs | core | 1,037,263,021 | 5,416 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e9042e011db5c5cfd6e17985fc31b6e30bffaecb |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-02-12T15:45:02 | 2022-05-06T09:21:42 | {} | NONE |
vuejs | core | 1,119,489,517 | 3,645 | yyx990803 | This is stale due to the refactor of `ReactiveEffect` into a class. | 2022-05-06T10:50:25 | 2022-05-06T10:50:25 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,120,128,251 | 5,876 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 836d6d4bb261f5cb6e12970b96030bfac7c25e13 |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-05-07T04:04:17 | 2022-05-07T04:13:28 | {} | NONE |
vuejs | core | 1,121,167,798 | 5,883 | 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-05-09T14:20:57 | 2022-05-09T14:20:57 | {} | MEMBER |
vuejs | core | 1,121,736,897 | 5,884 | edison1105 | please provide a mini repro. | 2022-05-10T00:47:37 | 2022-05-10T00:47:37 | {} | MEMBER |
vuejs | core | 1,121,770,042 | 2,742 | yyx990803 | Closing as stale | 2022-05-10T01:29:50 | 2022-05-10T01:29:50 | {} | MEMBER |
vuejs | core | 1,118,374,740 | 4,294 | victortrusov | @TuringJest thank you for the explanation!
I basically did the same thing in my project with Quasar UI but had to learn it the hard way. I also use `inheritAttrs: false` to make sure that `$attrs` will be passed to the right child component and bind `props` to the child component as well because binding only `$attrs... | 2022-05-05T09:56:53 | 2022-05-05T13:59:43 | {
"+1": 2
} | NONE |
vuejs | core | 1,119,391,369 | 5,867 | yyx990803 | This is the way all Vue warnings have always worked:
- Warnings are shown during dev, and **must be fixed before shipping to prod**.
- An unhandled warning during dev means it could lead to a hard error during prod. | 2022-05-06T08:43:57 | 2022-05-06T08:48:06 | {} | MEMBER |
vuejs | core | 1,119,427,085 | 3,671 | chenguzhen87 | Vue2 + Composition API, it got the same problem in setup function | 2022-05-06T09:28:11 | 2022-05-06T09:28:11 | {
"+1": 3
} | NONE |
vuejs | core | 1,120,360,362 | 5,875 | liulinboyi | > My problem is when the source of the update is not in the input element (e.g. slider in my example in the reproductioin link), but in the JavaScript state that is bound to it using `v-model` (`level` in my example). They should reflect each other. But as the example shows, updating the JavaScript state doesn't correc... | 2022-05-08T06:38:14 | 2022-05-08T06:39:37 | {} | MEMBER |
vuejs | core | 1,120,384,576 | 5,878 | LinusBorg | That's not supported. `defineProps` and `defineEmits()` are compiler hints that can only be processed within a script setup block.
you need to return the plain objects from your function (or export them separately) and then pass them to `defineProps()` and `defineEmits()` in the consuming component. | 2022-05-08T09:37:29 | 2022-05-08T09:37:29 | {} | MEMBER |
vuejs | core | 1,120,527,244 | 2,669 | tangjinzhou | maybe we can use `getCurrentInstance().vnode.scopeId` ? | 2022-05-09T00:57:32 | 2022-05-09T00:57:32 | {
"+1": 6
} | CONTRIBUTOR |
vuejs | core | 1,121,773,405 | 2,890 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vue-sfc-playground* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 251af629800fb3cbc0f5168713d1b6cc5fa3d7ea |
|<span aria-hidden="true">🔍</span> Latest deploy log | htt... | 2022-05-10T01:36:49 | 2022-05-10T01:38:09 | {} | NONE |
vuejs | core | 1,121,773,404 | 2,890 | netlify[bot] | ### <span aria-hidden="true">❌</span> Deploy Preview for *vuejs-coverage* failed.
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 251af629800fb3cbc0f5168713d1b6cc5fa3d7ea |
|<span aria-hidden="true">🔍</span> Latest deploy log | https:/... | 2022-05-10T01:36:49 | 2022-05-10T01:38:14 | {} | NONE |
vuejs | core | 1,118,502,888 | 3,930 | javaLuo | > 我也遇到了这个问题,根据以上你们讨论的方法...并没有解决!
>
> 我开发了一个组件发布到npm 用vite创建的vue项目,使用一切正常 用vue-cli (webpack)创建的项目,就一直报楼主的错误,ref拿不到,onMounted应该包含在setup中。
>
> 我已搞得心力交瘁
嘿,你猜怎么着,我解决了!
vite 库模式,不知为什么我设置了`external: ['vue']`,`resolve: { dedupe: ['vue'] }`。
但发布到npm时,还是会把当前项目的vue上传上去。
需要把`package.json` ‘dependencies’中的vue放到'devDep... | 2022-05-05T12:44:52 | 2022-05-05T12:44:52 | {} | NONE |
vuejs | core | 1,119,277,526 | 5,869 | liulinboyi | The Jack can't selected.
[Example](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiB9IGZyb20gJ3Z1ZSdcbmltcG9ydCBDb21wIGZyb20gJy4vQ29tcC52dWUnXG5cbmNvbnN0IG1zZyA9IHJlZih7XG4gIHZhbHVlOiBbXSxcbiAgY29uZGl0aW9uOiAnMzMzJ1xufSlcbjwvc2NyaXB0PlxuXG48dGVtcGxhdGU+XG4gIDxoMT57eyBtc2cgfX08L2gxPlxuICA8Q... | 2022-05-06T05:42:12 | 2022-05-06T05:44:51 | {} | MEMBER |
vuejs | core | 1,119,307,608 | 5,868 | LinusBorg | Here's the culprit:
https://github.com/vitejs/vite/blob/c7eeb8d69253d16dc9413d59cc13e45977a8c105/packages/plugin-vue/src/template.ts#L126-L132
this option is forced to be set and is responsible for absolute paths to be part of the asset pipeline.
Please move this to the vite repo, thanks! | 2022-05-06T06:43:41 | 2022-05-06T06:43:41 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,119,479,614 | 5,871 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | c25832c80b1e363dd35286d9e1f9b132e843b0e9 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-05-06T10:35:34 | 2022-05-06T10:38:10 | {} | NONE |
vuejs | core | 1,119,479,609 | 5,871 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | c25832c80b1e363dd35286d9e1f9b132e843b0e9 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-05-06T10:35:34 | 2022-05-06T10:44:13 | {} | NONE |
vuejs | core | 1,120,128,343 | 5,876 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 836d6d4bb261f5cb6e12970b96030bfac7c25e13 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-05-07T04:04:48 | 2022-05-07T04:17:36 | {} | NONE |
vuejs | core | 1,120,353,066 | 5,863 | sondh0127 | This is annoying default for `boolean`, while other type e.g `string` return `undefined` by default. only boolean return `false`? | 2022-05-08T05:24:50 | 2022-05-08T05:25:13 | {} | NONE |
vuejs | core | 1,118,237,899 | 5,858 | lk77 | Well i don't think i will have access to handleChange from a computed property, it comes from vee-validate v-slots | 2022-05-05T07:06:52 | 2022-05-05T07:07:20 | {} | NONE |
vuejs | core | 1,120,139,350 | 5,877 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 40906363284cdeffe379a02777ef0eb12bdf37ce |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-05-07T05:37:36 | 2022-05-07T05:42:35 | {} | NONE |
vuejs | core | 1,121,737,226 | 4,997 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | b8ac0109885451a9d9f43c5e1309691e8f7c7d5f |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-05-10T00:48:14 | 2022-05-10T01:09:30 | {} | NONE |
vuejs | core | 1,118,967,911 | 5,866 | liulinboyi | Is it possible to compile the code like this?
```javascript
vm.testComputedAdvanced
```
compile to
```javascript
_unref(_unref(vm).testComputedAdvanced)
``` | 2022-05-05T19:26:11 | 2022-05-05T19:26:11 | {} | MEMBER |
vuejs | core | 1,119,191,610 | 5,823 | yxw007 | > >  It's working fine. I think it's your environment. Suggestion: Delete node_modules and package-lock.json and try NPM install again. If you still can't provide your node version, please refer to vite project... | 2022-05-06T01:51:39 | 2022-05-06T01:51:39 | {} | NONE |
vuejs | core | 1,119,401,853 | 3,791 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 40ae22263985a2550fc0c1c4694e74267890c699 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-05-06T08:57:31 | 2022-05-06T09:03:58 | {} | NONE |
vuejs | core | 1,036,323,774 | 5,408 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vuejs-coverage* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 05cea29383289e52dcc1e1185d760747808f5861 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://... | 2022-02-11T15:19:11 | 2022-05-06T09:09:56 | {} | NONE |
vuejs | core | 1,119,663,045 | 5,874 | LinusBorg | ```html
<template>
<div>
<component :is="$slots.default()[0]" v-bind="$attrs">
</div>
</template>
<script>
export default {
inheritAttrs: false
}
</script>
``` | 2022-05-06T14:07:48 | 2022-05-06T14:07:48 | {
"+1": 1
} | MEMBER |
vuejs | core | 1,120,148,193 | 5,165 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-sfc-playground* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | 7f3a64e0e50ec9887742c69db6b0a3daad8ffd80 |
|<span aria-hidden="true">🔍</span> Latest deploy log | http... | 2022-05-07T06:47:05 | 2022-05-07T06:50:33 | {} | NONE |
vuejs | core | 1,120,216,334 | 3,989 | aadamcik | Any update on this? | 2022-05-07T14:08:14 | 2022-05-07T14:08:14 | {} | NONE |
vuejs | core | 1,120,285,684 | 5,875 | lkroc | My problem is when the source of the update is not in the input element (e.g. slider in my example in the reproductioin link), but in the JavaScript state that is bound to it using `v-model` (`level` in my example). They should reflect each other. But as the example shows, updating the JavaScript state doesn't correctl... | 2022-05-07T20:38:02 | 2022-05-07T20:38:02 | {} | NONE |
vuejs | core | 1,120,569,497 | 5,880 | Justineo | This is by design:
https://github.com/vuejs/core/blob/0683a022ec83694e29636f64aaf3c04012e9a7f0/packages/shared/src/globalsWhitelist.ts#L3-L6 | 2022-05-09T02:26:48 | 2022-05-09T02:26:48 | {
"-1": 2,
"confused": 2
} | MEMBER |
vuejs | core | 1,121,767,914 | 2,284 | yyx990803 | Closing this PR as stale.
In the [new recommended setup](https://vuejs.org/guide/typescript/overview.html) (Vite + vue-tsc) type checking is done on the component-source level instead of the compiled output. The intention of making SFC compile output type-valid is still desirable, but less important. Also it should ... | 2022-05-10T01:25:10 | 2022-05-10T01:25:10 | {} | MEMBER |
vuejs | core | 1,118,342,380 | 5,863 | liulinboyi | Related Issues #5847 | 2022-05-05T09:18:05 | 2022-05-05T09:18:05 | {} | MEMBER |
vuejs | core | 1,118,988,105 | 5,866 | LinusBorg | That would mean you could no longer purposely use a object in the template.l without it being unwrapped.
That would break valid use cases.
So i don't think so, no. | 2022-05-05T19:52:55 | 2022-05-05T19:52:55 | {} | MEMBER |
vuejs | core | 1,119,285,791 | 5,869 | WormGirl | > The Jack can't selected. [Example](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cD5cbmltcG9ydCB7IHJlZiB9IGZyb20gJ3Z1ZSdcbmltcG9ydCBDb21wIGZyb20gJy4vQ29tcC52dWUnXG5cbmNvbnN0IG1zZyA9IHJlZih7XG4gIHZhbHVlOiBbXSxcbiAgY29uZGl0aW9uOiAnMzMzJ1xufSlcbjwvc2NyaXB0PlxuXG48dGVtcGxhdGU+XG4gIDxoMT57eyBtc2cgfX08L2gxPlxuICA8... | 2022-05-06T06:02:41 | 2022-05-06T06:02:41 | {} | NONE |
vuejs | core | 1,037,263,024 | 5,416 | netlify[bot] | ### <span aria-hidden="true">✅</span> Deploy Preview for *vue-next-template-explorer* ready!
| Name | Link |
|---------------------------------|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | e9042e011db5c5cfd6e17985fc31b6e30bffaecb |
|<span aria-hidden="true">🔍</span> Latest deploy lo... | 2022-02-12T15:45:02 | 2022-05-06T09:16:32 | {} | NONE |
vuejs | core | 1,119,490,770 | 324 | yyx990803 | Closing (stale)
Filters are removed in v3 and supported in the [migration build](https://v3-migration.vuejs.org/migration-build.html). | 2022-05-06T10:52:08 | 2022-05-06T10:52:08 | {} | MEMBER |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.