-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Description
Version
3.0.0-alpha.1
Reproduction link
https://github.com/dxvladislavvolkov/vue_3_bug
Steps to reproduce
- clone repo
- run npm i
- run npm run dev
I try to use this code:
import Vue from "vue";
.....
const BaseComponent: VueConstructor<IBaseComponent> = Vue.extend({
inheritAttrs: false,
data() {
.....
},
and get an error "TypeError: Vue.extend is not a function"
What is expected?
I expect the function to work
What is actually happening?
I get the error "TypeError: Vue.extend is not a function"
haiZhaoChen and jiangxiaoqiang
Metadata
Metadata
Assignees
Labels
No labels