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
in Home.vue
<template> <div> <mui-content :options="options.content"> <mui-slider v-if="options.slider.display" :options="options.slider"></mui-slider> <mui-category></mui-category> <mui-list></mui-list> </mui-content> </div> </template>
in content.vue
<template> <div class="mui-content" :class="{ 'mui-scroll-wrapper': options.scroll, 'index': options.index }"> <template v-if="options.scroll"> <div class="mui-scroll"> <slot></slot> </div> </template> <template v-else> <slot></slot> </template> </div> </template>
当升级到vue1.0.17时,在.vue文件里用这种template嵌套template加slot标签时,网页不会显示这些放进slot的组件,也不会报错。 用旧版本就没有这个问题。
The text was updated successfully, but these errors were encountered:
ccd11fb
Woah… I didn't know this was a bug. I was bit by this too (inadvertently… but still). Good to know it's fixed!
Sorry, something went wrong.
No branches or pull requests
in Home.vue
in content.vue
当升级到vue1.0.17时,在.vue文件里用这种template嵌套template加slot标签时,网页不会显示这些放进slot的组件,也不会报错。
用旧版本就没有这个问题。
The text was updated successfully, but these errors were encountered: