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

组件嵌套组件时,内部组件没有渲染 #34

Open
wutianSweet opened this issue Sep 5, 2019 · 7 comments
Open

组件嵌套组件时,内部组件没有渲染 #34

wutianSweet opened this issue Sep 5, 2019 · 7 comments

Comments

@wutianSweet
Copy link

这是测试文案


u-icon 组件没有渲染

@JuneAndGreen
Copy link
Contributor

JuneAndGreen commented Sep 26, 2019

我这边试了下不管是自引用还是引用其他组件都可以渲染,方便给下你那边有问题的 demo 么?

@chenzhutian
Copy link

@JuneAndGreen
我也有这个问题, 这是我的issue, 还没解决就被关了
#65

这是我的复现repo
https://github.com/chenzhutian/miniprogram-simulate-minimal

@chenzhutian
Copy link

我的解决了, 因为typo

@fangxxiaoming
Copy link

我的解决了, 因为typo

怎么解决的啊,我在自定义组件里usingComponents用绝对路径引入其他组件,就会有问题

@fangxxiaoming
Copy link

我这边试了下不管是自引用还是引用其他组件都可以渲染,方便给下你那边有问题的 demo 么?

你试过引用绝对路径的嘛

@fangxxiaoming
Copy link

我的解决了, 因为typo

怎么解决的啊,我在自定义组件里usingComponents用绝对路径引入其他组件,就会有问题

@chenzhutian

@JuneAndGreen
Copy link
Contributor

@fangxxiaoming 看看你的 rootPath 配置,有引用组件的要注意所有组件都在这个 rootPath 底下才能读到并进行编译:https://github.com/wechat-miniprogram/miniprogram-simulate/blob/master/docs/api.md#options

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

4 participants