TVVM
TVVM copied to clipboard
TVVM is not a constructor
作者你好,按照你的说明书在vue项目中如下引入后:
import * as TVVM from 'tvvm';
var tv = new TVVM({
focus: {
defaultFocusIndex: '0-0',
circle: {
horizontal: true,
vertical: true
}
}
});
报错如下:
main.js:43 Uncaught TypeError: TVVM is not a constructor
at Object.D:\vrpano-tv\main.js (main.js:43)
at __webpack_require__ (bootstrap:766)
at fn (bootstrap:129)
at Object.0 (log.js:47)
at __webpack_require__ (bootstrap:766)
at bootstrap:901
at bootstrap:901
能看下这个问题吗?