Last 12 weeks · 0 commits
2 of 6 standards met
Version 3.0.0-beta.15 Reproduction link https://github.com/blacksonic/vue-3-playground Steps to reproduce Create a webcomponent with the name x-username Modify the app instance config to test for webcomponents Include the webcomponent in a vue template Config of the application app.config.isCustomElement = tag => /^x-/.test(tag); What is expected? The application shouldn't log warning as it is configured to treat the element as a webcomponent What is actually happening? Vue logs warning: [Vue warn]: Failed to resolve component: x-username The component is displayed however I wanted to find a replacement from Vue 2 ignoredElements Vue.config.ignoredElements = [/^x-/]; I've tried modifying the vue cli webpack plugin options but with no luck I get this message:
Repository: vuejs/vue-cli-plugin-vue-next. Description: A Vue CLI plugin for trying out vue-next (experimental) Stars: 337, Forks: 22. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Open PRs: 14, open issues: 9. Last activity: 3y ago. Community health: 37%. Top contributors: haoqunjiang, cexbrayat, posva, rickbeerendonk, scottbedard, zce.