We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

nuxt error。 [Vue warn]: Do not use built-in or reserved HTML elements as component id: s

As long as I quote the button, an error will appear the first time I visit the page.

If I use nuxt2, as long as I reference this button, the following error will occur. There is no problem without reference.



import { ButtonPlugin } from '@syncfusion/ej2-vue-buttons';




2 Replies

JS Jamuna Sundaram Syncfusion Team February 7, 2023 01:11 AM UTC

Hi xu zhi bin,

We are validating your reported scenario, and we need additional time to validate this issue. We will update further details on February 8, 2023. 


Regards,
Jamuna Sundaram



YA YuvanShankar Arunagiri Syncfusion Team February 13, 2023 07:04 AM UTC

Sorry for the delay, Xu zhi bin. We have validated the reported issue. The reported issue occurs if the reserved or built-in HTML tag names are registered in the Vue file. To resolve this issue, you need to register the name without using any reserved tags or built-in HTML tag names in the Vue file. Please refer to the below code snippet.


Components/Tutorial.Vue

<script>

export default {

  name: 'Tutorial'

}

</script>


Kindly refer to the attached sample and get back to us if you need any further assistance on this. 


Regards,

YuvanShankar A


Loader.
Up arrow icon