Evan You

Results 333 comments of Evan You

@chrisvfritz SFCs only manipulate the options at runtime, so all the big description strings will be included in the bundle and cannot be minified. They can only be dropped with...

很有意思的一点。作为一个从设计师转行的前端,我对position的理解完全是为了实现设计的布局要求一路Google出来的。这个问题对我来说虽然可能用的表达方式和标准里面不一样,但是直觉上是非常清晰的。一年多以前曾经有个Apple WebKit测试组的电面,HR(还不是真正带组的那个人)上来就问了这个问题,我一边回答一边心里觉得这个是不是太简单了...

I don't understand this. v16+ only works with Vue 3, so the bundle will not work in any browser that does not support `const`. How can vue-loader generated code be...

I don't think I understand the problem. What is your use case?

We do not support `::slotted` or `>>>` at the moment, but yes, we should.

@FTAndy as of now slotted content is considered both part of the parent and the child so they get matched by scoped styles from both sides.

Taking CSS dependencies into account would require `vue-loader` to somehow crawl the entire CSS dependency tree (which I don't think is exposed via the loader API) just to generate the...

Vue files currently does not support type exports, because that's processed at the TypeScript checker level, and all `*.vue` modules are simply shimmed to be of type `Vue` (see your...

[Relevant RFC section](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0040-script-setup.md#type-only-propsemit-declarations) > Currently complex types and type imports from other files are not supported. It is theoretically possible to support type imports in the future. We'll mark it...

This is definitely something that's needed. In general we think the Suspense API as a whole needs more usage testing and another round of focused design, including error handling and...