charting-library-examples icon indicating copy to clipboard operation
charting-library-examples copied to clipboard

Cannot import JS file in nuxtjs

Open learntolearn99 opened this issue 6 years ago • 5 comments

Error: window is not defined

learntolearn99 avatar Sep 09 '19 04:09 learntolearn99

Can you please provide a little bit more context? What do you do to get this error?

timocov avatar Sep 09 '19 10:09 timocov

hi @timocov I cannot load this file: import { widget as TvWidget } from "../../../static/traddingview/charting_library/charting_library.min.js";

learntolearn99 avatar Sep 09 '19 16:09 learntolearn99

Did you use SSR?

timocov avatar Sep 10 '19 16:09 timocov

Did you use SSR? I didn't

Could you help me integrate tradingview on nuxt js

learntolearn99 avatar Sep 11 '19 01:09 learntolearn99

Unfortunately I'm not familiar with that framework. But it's possible that someone else can help you, so if you can provide a small repo with code of repro your error - it would be awesome.

timocov avatar Sep 11 '19 11:09 timocov