Closed itxor closed 1 year ago
I have a similar issue. The framework are working fine of UI components, but when I'm trying to access the this.$Message on error is showed:
Failed to compile.
src/views/LicenceManagement.vue:362:10
TS2339: Property '$Message' does not exist on type 'LicenceManagement'.
360 | this.empresas = state.empresas;
361 |
> 362 | this.$Message.success({ text: 'Success message!' });
| ^^^^^^^^
363 | }
some tip?
Good day! When trying to access the this.$Message variable, an error appears that the variable is not defined. This is the first time I work with ts and vue 3, probably I did not take into account something. Components in class-style style:
Error:
package.json:
main.ts:
If i remove
@ts-ignore
then a get error: