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
// index.wpy <template> <bottom-tab index="1"></bottom-tab> </template> <script> import wepy from 'wepy' import tab from '../components/tab' export default class ProfileForm extends wepy.page { components = { 'bottom-tab': tab } } </script>
// tab.wpy <template> <view> {{index}} </view> </template> <script> import wepy from 'wepy' export default class Counter extends wepy.component { props = { index: String } } </script>
还是希望能像vue里,将camelCase自动转换成kebab-case。 这点文档里没有写出来(文档里都是单个词的组件),编译时,运行时也都没有报错。 花了好多时间debug。
如果可能,希望至少可以有提醒代码有错误。
The text was updated successfully, but these errors were encountered:
added kebab-case component support - #242
710670a
#201
Sorry, something went wrong.
fixed in 1.5.8
added kebab-case component support - Tencent#242
4332017
No branches or pull requests
还是希望能像vue里,将camelCase自动转换成kebab-case。
这点文档里没有写出来(文档里都是单个词的组件),编译时,运行时也都没有报错。
花了好多时间debug。
如果可能,希望至少可以有提醒代码有错误。
The text was updated successfully, but these errors were encountered: