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

Do not use built-in or reserved HTML elements as component id: MenuItem #104

Closed
robsontenorio opened this issue May 7, 2017 · 2 comments

Comments

@robsontenorio
Copy link

robsontenorio commented May 7, 2017

Expected Behavior

No error on console

Actual Behavior

Error: Do not use built-in or reserved HTML elements as component id: MenuItem
But... chart is OK!

import {
  Bar
} from 'vue-chartjs'


export default Bar.extend({
  name: 'estatistica-progresso',
  data() {
    return {
      datacollection: {
        labels: ['January', 'February'],
        datasets: [{
          label: 'Data One',
          backgroundColor: '#f87979',
          data: [40, 20]
        }]
      }
    }
  },
  mounted() {
    this.renderChart(this.datacollection, {
      responsive: true,
      maintainAspectRatio: false
    })
  }
})


Environment

  "chart.js": "^2.5.0",
    "vue": "^2.2.6",
    "vue-chartjs": "^2.6.2",
@apertureless
Copy link
Owner

Eh, I don't really get the error. Are you sure, thats caused by vue-chartjs ? I don't have an id of MenuItem anywhere in the code 😕

@robsontenorio
Copy link
Author

I`m sorry, my bad!

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