Skip to content

Use the OpenCOR component within an iframe or Web component (component element) #100

@agarny

Description

@agarny

This would allow OpenCOR to use whatever version of Vue (and PrimeVue), i.e. not be restricted to Vue 3.4.21 which is the version used by the SPARC portal.

However, to use an iframe would probably require using https://opencor.ws/app and I am not sure how we could get SimulationVuer to communicate with OpenCOR.

To have a Web component version of OpenCOR would be much better, but... although a Vue app can be made into a Web component, PrimeVue doesn't currently have support for Web components. There is a special version of PrimeVue that does (see @primevue-ce/primevue & Co.), but when I gave it a quick try, I came across various CSS issues.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions