Hanson

Results 50 comments of Hanson

我这边也是有很多过渡,后面新的组件都是使用class setup

> This looks very promising. I'll be sure to check it out. Thanks! Our internal component library is developed based on it

> One doubt: "Use class style to write setup and support vue2 and vue3". Does it mean that it's purpose is only to write setup, or can we write components...

I have used it on a large scale in our company, involving as many as 100+ projects, and it can run well.

```vue import { defineComponent } from 'vue'; import { Setup, Context } from 'vue-class-setup'; // Setup and Context must work together @Setup class App extends Context { private _value =...

It cannot export a class like a class component. It needs to be put into `defineComponent ` for use, so that type inference can be obtained

> > It cannot export a class like a class component. It needs to be put into `defineComponent ` for use, so that type inference can be obtained > >...

https://rspress.dev/zh/api/config/config-frontmatter#head This should meet your needs

Does this include hmr for the ESM?