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

[Vue warn]: Unknown custom element: <tabbar> - did you mean <tabbar>? HTML is case-insensitive, remember to use kebab-case in templates #168

Closed
muei opened this issue May 6, 2016 · 3 comments

Comments

@muei
Copy link

muei commented May 6, 2016

I create the project by vue-cli, use the eslint by standard. The bottom code will error in console: [Vue warn]: Unknown custom element: <tabbar> - did you mean <tabbar>? HTML is case-insensitive, remember to use kebab-case in templates

<template>
  <div>
    <tabbar>
      <tabbar-item selected>
        <!-- <img slot="icon" src="../assets/demo/icon_nav_button.png"> -->
        <span slot="label">Wechat</span>
      </tabbar-item>
      <tabbar-item show-dot>
        <!-- <img slot="icon" src="../assets/demo/icon_nav_msg.png"> -->
        <span slot="label">Message</span>
      </tabbar-item>
      <tabbar-item>
        <!-- <img slot="icon" src="../assets/demo/icon_nav_article.png"> -->
        <span slot="label">Explore</span>
      </tabbar-item>
      <tabbar-item>
        <!-- <img slot="icon" src="../assets/demo/icon_nav_cell.png"> -->
        <span slot="label">News</span>
      </tabbar-item>
    </tabbar>
  </div>
</template>

<script>
import Tabbar from 'vux/components/tabbar'
import TabbarItem from 'vux/components/tabbar-item'
export default {
  components: {
    Tabbar,
    TabbarItem
  }
}
</script>

@airyland
Copy link
Owner

airyland commented May 6, 2016

Please specified vux npm version.

@muei
Copy link
Author

muei commented May 6, 2016

npm info vux version
0.0.113

@airyland
Copy link
Owner

airyland commented May 6, 2016

Thanks for your feedback. Already Fixed in v0.0.114.

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