Element Plus is a Vue 3 UI library which help developers and UI designers quickly build apps and components. Most of the parts of the library coming from the Chinese contributor and has large user base.

Element Plus is a good choice when developing web and desktop apps.

Plugin error

TypeScript Error in Element-Plus (Vue3)

When using Element-Plus using plugin in Vue3 and Typescript, you may have encounter parameter app has an 'any' type error. This will happen when you configure TS in an existing Vue project.

Solution

To solve the issue provide a type in the plugin function. For our quick fix it can be any

 export default (app:any) => {   app.use(ElementPlus) }

This free site is ad-supported. Learn more