'ZBlazorDiagrams' was undefined #442
Unanswered
PiggyChu620
asked this question in
Q&A
Replies: 1 comment
-
the package JS is not reference correctly.
It depends how did you integrate the source code, maybe the script path needs to be "local" so try:
you might also try blazor's javascript initiliazers |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys,
I tried to clone the whole repo and integrates it directly into my project instead of installing it from NuGet, so I have full control over it to do something like integreting pending pull requests before the author merging it.
Anyway, I am on the tight schedule and therefore need it to be done asap, so I have no choice but to integrate the package manually instead of waiting and hoping the author merges it.
Don't get me wrong, I appreciate the author, from the bottom of my heart, releasing such a great tool so that I could do something completely impossible on my own, I just can not wait passively.
Anyway, again, I managed to fix all the referecing issues and get it running, but when I open the diagram page, an unhandled exception occured, and when I check the output, it says "'ZBlazorDiagrams' was undefined", but I did change the references in _Host.cshtml to its new location, so why is it still failing?
Could somebody please be so kind telling me what have I missed?
Much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions