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

v1 release exports router instead of UI #168

Closed
k2s opened this issue Nov 26, 2020 · 2 comments · Fixed by #169
Closed

v1 release exports router instead of UI #168

k2s opened this issue Nov 26, 2020 · 2 comments · Fixed by #169

Comments

@k2s
Copy link

k2s commented Nov 26, 2020

Examples for v1 tag show const { UI } = require('bull-board'), but UI is never exported from bull-board/dist/index.js, it exports router, which works.

@felixmosh
Copy link
Owner

felixmosh commented Nov 26, 2020

It is a major release, we decided to change the interface a bit.

Instead of invoking UI function, you get the router which is what UI() was returning, check the usage in example.js

@vcapretz
Copy link
Contributor

PR up for updating the readme file! thanks for the catch @k2s 👍

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

Successfully merging a pull request may close this issue.

3 participants