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
需求效果和这个意思一样。
<div> <component v-bind:is="AsyncComponent"></component> </div> const AsyncComponent = () => ({ component: import('./MyComponent.vue'), loading: LoadingComponent, error: ErrorComponent, delay: 200, timeout: 3000 })
但是我要做的是根据VUE内容加载,达到上面代码的效果。 也就是说根据MyComponent.vue这个文件的内容直接显示出效果
请问是否有更好的方法?
const AsyncComponent = () => ({ component: import(“<template><div>你好</div></template>export default { data()....}”), loading: LoadingComponent, error: ErrorComponent, delay: 200, timeout: 3000 })
The text was updated successfully, but these errors were encountered:
相当于在线运行VUE一样,可以根据代码显示出来效果
Sorry, something went wrong.
Issue 仅接受 bug 报告与新特性请求,不负责解决用法的问题,有疑问请前往论坛、StackOverflow 或者 Discord 聊天室 请求帮助,谢谢。
No branches or pull requests
What problem does this feature solve?
需求效果和这个意思一样。
但是我要做的是根据VUE内容加载,达到上面代码的效果。
也就是说根据MyComponent.vue这个文件的内容直接显示出效果
请问是否有更好的方法?
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: