We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在vue3按需引入报错了
import { App } from "vue"; import { WiredButton, WiredInput, WiredDialog } from 'wired-elements' const wiredELments = [ WiredButton, WiredInput, WiredDialog ] export const setWired = (app: App<Element>) => { wiredELments.forEach(v => { app.use(v) //这里类型错误了 }) }
在控制台报错为 Uncaught TypeError: Class constructor WiredButton2 cannot be invoked without 'new'
The text was updated successfully, but these errors were encountered:
See Vue and Web Components for your project setup.
Then copy the content of HelloWiredElements.vue.
At least that worked for me using webpack.
Sorry, something went wrong.
No branches or pull requests
在vue3按需引入报错了
在控制台报错为
Uncaught TypeError: Class constructor WiredButton2 cannot be invoked without 'new'
The text was updated successfully, but these errors were encountered: