Next.js Discord

Discord Forum

Extending 3rd party javascript component impossible?

Unanswered
Northeast Congo Lion posted this in #help-forum
Open in Discord
Northeast Congo LionOP
I have a class that extends cast.framework.QueueBase, but no matter how I add the cast framework script into my Next.js app, it's always loaded too late and I get a runtime error cast not defined. Is there no way to override Next.js and achieve the simple equivalent of adding the <script> tag to the html page?

0 Replies