sample not working properly in vue3
See original GitHub issueVersion
4.5.0
Reproduction link
https://github.com/kumaresan-subramani/vue3-suport
working sample
sample sample with "vue": "^2.6.11
works fine without any error
https://github.com/Saranya13/vue-sample/
Environment info
"vue": "^3.0.5"
"@vue/cli-plugin-babel": "^4.5.10",
"@vue/cli-plugin-eslint": "^4.5.10",
"@vue/cli-service": "^4.5.10",
"@vue/compiler-sfc": "^3.0.5",
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
"eslint-plugin-vue": "^7.4.1",
Steps to reproduce
clone above mentioned smple
then npm i
finally npm run serve
browser throws script error, but the same working fine in vue2
What is expected?
component gets rendered without script error
What is actually happening?
throws script error
component-base.js?5981:6 Uncaught TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)
at extendStatics (component-base.js?5981:6)
at __extends (component-base.js?5981:9)
at eval (component-base.js?5981:20)
at eval (component-base.js?5981:195)
at Module../node_modules/@syncfusion/ej2-vue-base/src/component-base.js (chunk-vendors.js:575)
at __webpack_require__ (app.js:849)
at fn (app.js:151)
at eval (index.js?4867:1)
at Module../node_modules/@syncfusion/ej2-vue-base/src/index.js (chunk-vendors.js:599)
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (8 by maintainers)
Top Results From Across the Web
Provide Inject not working properly in vue 3 composition API
The issue is in the inject component. The value for the inject ed variable is always null and does not update in the...
Read more >Why Your Vue Component Isn't Updating (and how to fix it)
1. Check that variables are reactive · 2. Make sure to update Arrays and Objects correctly (only in Vue 2) · 3. Use...
Read more >How to Fetch Data with Vue 3 Suspense, Fallbacks ... - YouTube
The first video in a series on Vue 3 Suspense shares insight on using Vue 3 for asynchronous data loading with UI fallbacks...
Read more >Component Registration - Vue.js
A Vue component needs to be "registered" so that Vue knows where to locate its implementation when it is encountered in a template....
Read more >How to use Vue 3 with TypeScript - LogRocket Blog
Build an example Vue app in TypeScript with class-based components ... Unlike Angular, older versions of Vue did not have proper support for ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Use
extends
option. https://v3.vuejs.org/api/options-composition.html#extendsI’m afraid not. Because it’s not a bug in Vue CLI.