Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stomp方式在创建Kline实例时报错Error in mounted hook: "ReferenceError: SockJS is not defined" #108

Open
hupnos opened this issue Sep 10, 2020 · 0 comments

Comments

@hupnos
Copy link

hupnos commented Sep 10, 2020

我使用的vue-cli引入kline,但是无论在main.js里import SockJS from "kline/lib/sockjs"还是import SockJS from "sockjs-client"或者import SockJS from "sockjs"都会报题目错误,我已经通过npm install --save sockjs stomp安装了依赖。求大佬指点,万分感激

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant