Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[examples] Custom DefaultPage never gets called #15

Open
regenrek opened this issue Feb 12, 2019 · 0 comments
Open

[examples] Custom DefaultPage never gets called #15

regenrek opened this issue Feb 12, 2019 · 0 comments

Comments

@regenrek
Copy link

regenrek commented Feb 12, 2019

Hi

is it possible that the custom src/examples/js/pages/DefaultPage.js never gets called in the example and instead starting-blocks includes the default which is stored inside src/pages/DefaultPage.js ?

I mean I just included it inside the app.js which seems to work. Is this correct?

import DefaultPage from './pages/DefaultPage'


  startingBlocks.instanceFactory('DefaultPage', c => {
      return new DefaultPage(c)
  })

Regards

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

No branches or pull requests

1 participant