Well I am definitely on the right track

Well, I am definitely on the right track hahaha. This is exactly the approach I took.
10 Replies
MaartenBreddels
MaartenBreddels15mo ago
can you share some code and the error?
Elder Millenial
Elder MillenialOP15mo ago
Yep, I think the problem I'm having is in the Vue file
Elder Millenial
Elder MillenialOP15mo ago
This is midstate. It's a bit messy
Elder Millenial
Elder MillenialOP15mo ago
GitHub
GitHub - Mathpix/mathpix-markdown-it: Markdown rendering + Latex ex...
Markdown rendering + Latex extras (equations, tables, ...), with conversion features, for the scientific community - GitHub - Mathpix/mathpix-markdown-it: Markdown rendering + Latex extras (equati...
Elder Millenial
Elder MillenialOP15mo ago
I have made my own custom components with Vue before, but I am not a Javascript developer
MaartenBreddels
MaartenBreddels15mo ago
Stack Overflow
Vue JS v-html directive renders raw html
Here is how my component looks like <template> <div v-html="someHtml"></div> </template> <script> export default { name: "test", props: {...
Elder Millenial
Elder MillenialOP15mo ago
I tried adding the v-html, it it's still throwing an error. The error I'm getting is on the browser side. I see this error in the console:
vue.runtime.esm.js:1897 TypeError: Cannot read properties of undefined (reading 'Push')
at Object.Queue (bundle.js:16:2950886)
at o.mounted (eval at <anonymous> (VueTemplateRenderer.js:346:21), <anonymous>:7:25)
at y (VueTemplateRenderer.js:87:7)
at o.mounted (VueTemplateRenderer.js:125:7)
at Ye (vue.runtime.esm.js:1863:57)
at rn (vue.runtime.esm.js:4235:7)
at Object.insert (vue.runtime.esm.js:3158:7)
at C (vue.runtime.esm.js:6390:28)
at hi.nodeOps [as __patch__] (vue.runtime.esm.js:6609:5)
at e._update (vue.runtime.esm.js:3963:19)
vue.runtime.esm.js:1897 TypeError: Cannot read properties of undefined (reading 'Push')
at Object.Queue (bundle.js:16:2950886)
at o.mounted (eval at <anonymous> (VueTemplateRenderer.js:346:21), <anonymous>:7:25)
at y (VueTemplateRenderer.js:87:7)
at o.mounted (VueTemplateRenderer.js:125:7)
at Ye (vue.runtime.esm.js:1863:57)
at rn (vue.runtime.esm.js:4235:7)
at Object.insert (vue.runtime.esm.js:3158:7)
at C (vue.runtime.esm.js:6390:28)
at hi.nodeOps [as __patch__] (vue.runtime.esm.js:6609:5)
at e._update (vue.runtime.esm.js:3963:19)
Elder Millenial
Elder MillenialOP15mo ago
Here is the latest version of my files.
Elder Millenial
Elder MillenialOP15mo ago
Alright, I have a "functional" piece of code. I don't think it's nearly as robust as what you have for echarts. The problem I was having is that the requirejs code seemed to be returning null instead of a module. This seems to work and vastly simplified the code:
Want results from more Discord servers?
Add your server