vue-facing-decorator icon indicating copy to clipboard operation
vue-facing-decorator copied to clipboard

Vue typescript class component decorators

Results 8 vue-facing-decorator issues
Sort by recently updated
recently updated
newest added

Not getting prop intellisense: ![image](https://user-images.githubusercontent.com/10191085/185739095-f9ff5f61-ddf8-42ee-b2a6-763dd179afdc.png) Tried with normal `` without using vue-facing-decorator and I then get intellisense: ![image](https://user-images.githubusercontent.com/10191085/185739142-abec3f7b-3253-4fe3-a180-03de6e790cc2.png) components/HelloWorld.vue with vue-facing-decorator: ```vue import { Vue, Component, Prop, Emit, } from...

I suggest renaming the library to a clear name that says what it is about. vue-oop is already taken. So maybe: 1. vue-oop-component 2. vue-component-oop 3. vue-oop-decorator 4. voop 5....

我发现,在父类的 @Props ,在子类不重复声明,就拿不到。 案例如下: ```typescript interface Props { panelModel: IPanelModel } @ComponentBase({}) class ExampleExtends extends TSX()(Vue) implements Props { public foo = number; public bar = number; @Prop({ required: true...

Sometimes we don't need all of the class properties to be transformed to Vue data. Actually, I'm in trouble with three.js. When I define a Scene as a class property(It's...

![Screenshot from 2024-03-20 22-08-30](https://github.com/facing-dev/vue-facing-decorator/assets/49351986/d8280bf7-24be-42a1-8b78-14c87c446be3) Things are working nicely, but the IDE cannot see the class properties - see attached. Is there any support for this?

Simple Example Repo: https://github.com/hellokvn/vue-facing-decorator-slot-typebug In the provided example repository, I've created a parent and a child component using both the vue-facing-decorator and Vue's Composition API (setup). In the child component,...

In this PR I add the TS interfaces for the hooks. More detailed description can be found here: https://github.com/facing-dev/vue-facing-decorator/issues/114

Hello! I would like to propose some improvements to this library which in my opinion would enhance the DX. Consider the following code of component: ```ts class MyComponent extends Vue...