S
Solara

general

Well I am definitely on the right track

EMElder Millenial10/17/2023
Well, I am definitely on the right track hahaha. This is exactly the approach I took.
MMaartenBreddels10/17/2023
can you share some code and the error?
EMElder Millenial10/17/2023
Yep, I think the problem I'm having is in the Vue file
EMElder Millenial10/17/2023
EMElder Millenial10/17/2023
This is midstate. It's a bit messy
EMElder Millenial10/17/2023
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...
EMElder Millenial10/17/2023
I have made my own custom components with Vue before, but I am not a Javascript developer
MMaartenBreddels10/17/2023
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: {...
EMElder Millenial10/17/2023
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)
EMElder Millenial10/17/2023
Here is the latest version of my files.
EMElder Millenial10/17/2023
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:

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
another question i just want to combineanother question , i just want to combine cross filter with map (leafmap) however I couldn't make i2 No if you put in a top level dict not2) No, if you put in a top level dict (not reactive) in a module, every user sees the same dictionarIf I ve setup an app with multiple pagesIf I've setup an app with multiple pages using Solara's routing, is there an easy way to redirect a Thank you for your answer but nextThank you for your answer, but next question, why display(button) from widget on solara component doBlender with Solarawould be very happy to be a guinnea pigwould be very happy to be a guinnea pig 😄Which version of lab running pip installWhich version of lab? running !pip install will install it in the kernel environment, if the lab serThanks how could I programatically setThanks ! how could I programatically set theme from Python side ?it seems to be functional not sure Iit seems to be functional. not sure I understand the downside of my current approach. but fixing any3 what s the best way to implement `push3. what's the best way to implement `push notification` ? is it something like this ? and is it run 2 when I create a module level reactive2. when I create a module level reactive var like `x = solara.reactive(None)`, is it application widcouple of questions around sessioncouple of questions around session management: 1. I found Solara manages session via cookie which isI m not sure what you mean but changingI'm not exactly sure what you mean, but changing the value from the backend would look something likhey solara team looking into statehey solara team looking into state documentation. It seems solara.reactive is session based as in ifhope to know when we will get this fixedhope to know when we will get this fixed. I am developing some demo with Solara and don't want to seThe timer thread is an infinte loop ThatThe timer thread is an infinte loop. That's the only loop I know of. And the timer isn't a problem I m trying to run Solara as Embedding inI'm trying to run Solara as "Embedding in an existing Starlette application" and when I go to `/solaAren't all these the responsibility of the browser to fetch stuff from the CDN?Good afternoon! Can Solara run on a read-only file system? I tried running it on AWS Lambda and it cwhat did you use for thatwhat did you use for that?btw working with Layout and routes was abtw, working with Layout and routes was a pain in my case. One problem was it didn't use the Layo