Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4870

Experimenting with Ember embedded in React - how to package?

$
0
0

I’ve been experimenting with embedding an existing Ember App into a React App. In the React app I create a component that creates link and script elements to import .js and .css from the React app’s dist directory. The Ember App is configure to mount to an element/class within the React component.

This works in general, except for an odd quirk with the css that I asked about here (javascript - Dynamically loaded script is not using dynamically loaded css until I 'prettify' css in devtools source - Stack Overflow - it’s quite length )

I’d like to export keep my ember app in a npm module, include it in the React app’s package.json dependencies, and then mount the app from the parents component. Anyone have any ideas how that could be accomplished?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4870

Trending Articles