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

组件中引用组件时wxss有时不生成 #13

Closed
5 tasks
githublyp opened this issue Nov 29, 2018 · 4 comments
Closed
5 tasks

组件中引用组件时wxss有时不生成 #13

githublyp opened this issue Nov 29, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@githublyp
Copy link

问题类型

  • 如何实现某功能
  • [x ] 报 BUG
  • 某功能改进建议
  • 新功能建议
  • 文档问题
  • 其他/以上都不是

问题详情

index页面引用Hello
image
hello中引入其他组件
image
其他组件
image

期望效果

实际情况

image

问题示例 和 复现步骤

image

问题环境

okam 相关包版本

`okam-core` 版本:0.3.3
`okam-build` 版本:0.3.2
`okam-cli` 版本(若是 cli 问题):

微信小程序开发工具 ; 真机

@wuhy
Copy link
Collaborator

wuhy commented Nov 29, 2018

@githublyp 没有生成 wxss,理论上如果不是报错,或者没有定义 style 这个标签应该不会没有,你那边有时候没有,没有是什么情况下没有的了?是编辑时候动态 watch 没有还是所有代码重新构建输出时候没有了?如果没有一个比较明确的稳定可复现的规律,我这边没法确认什么原因

@githublyp
Copy link
Author

现在成了必现问题:
image

@githublyp
Copy link
Author

我发现是当子组件Hello引用的子组件Adilog,如果Adilog名字改为H字母后面的就可以,或者Hello改为子组件前面字母也可以;但是page没有此现象

@wuhy wuhy added the bug Something isn't working label Nov 30, 2018
@wuhy
Copy link
Collaborator

wuhy commented Nov 30, 2018

@githublyp 问题已经修复,你可以把 okam-build 升级到 0.3.3 再看下,我先把 issue 关闭,如果还有问题,你再打开,谢谢反馈~

@wuhy wuhy closed this as completed Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants