Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

Create example for cycle js #41

Open
joeldenning opened this issue Sep 7, 2017 · 2 comments
Open

Create example for cycle js #41

joeldenning opened this issue Sep 7, 2017 · 2 comments

Comments

@joeldenning
Copy link
Member

Now that @pcmnac has created the helper library https://github.com/pcmnac/single-spa-cycle, we should add cyclejs to single-spa-examples.

@pcmnac
Copy link

pcmnac commented Sep 8, 2017

Hello @joeldenning . You can start from here (https://github.com/pcmnac/single-spa-cycle-child-example). It's a simple app using Cycle.js with JSX. I tried to put it together with simple-single-spa-webpack-example but when I started to use JSX it started to conflict with the React example. So I moved my child app to a separated project and started importing the webpack bundle in the root app.

...
singleSpa.declareChildApplication('app-3', () => import('../../../single-spa-cycle-child-example/dist/cycle-child-example.js'), hashPrefix('/app3'));
...

It worked in that way. Feel free to make any considerations.
[]'s

@filoxo
Copy link

filoxo commented Feb 24, 2019

This was resolved in #56.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants