1
votes

I work on a sub application which is a plugin to a main application.

I want the plugin application to use Preact/vue but the main application is on Vanilla JS.

How can I still write my code using react/vue/Preact but be able to integrate it with the main application?

Just add the script and the root div. It's simple really. - ChrisG
What's your definition of "PureJS"? No external dependencies? If so, the answer is simple: just bundle react/vue/preact with your code and you have a "PureJS" build. - Bergi