Skip to content

TVVM is not a constructor #1

Description

@alterhu2020

作者你好,按照你的说明书在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

能看下这个问题吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions