Skip to content
New issue

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

Component must have name while using create-api! #674

Closed
liubian333 opened this issue Feb 5, 2020 · 1 comment
Closed

Component must have name while using create-api! #674

liubian333 opened this issue Feb 5, 2020 · 1 comment

Comments

@liubian333
Copy link

Version

1.12.34

Reproduction link

cube-ui/vue-create-api#14

Steps to reproduce

1、使用createApi 出问题
2、代码如下
import { createAPI } from 'cube-ui'
import Vue from 'vue'
import HeaderDetail from 'components/header-detail/index.vue'
createAPI(Vue, HeaderDetail)

What is expected?

网页正常运行

What is actually happening?

网页空白

Dependencies Version

vue: 2.6.11
better-scroll: 1.15.0


参考cube-ui/vue-create-api#14
仍然出现问题

@dolymood
Copy link
Contributor

dolymood commented Feb 5, 2020

使用 TS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants