The Wayback Machine - https://web.archive.org/web/20220321122159/https://github.com/plotly/dash-component-boilerplate/issues/97
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

Document multiple components creation #97

Open
eric-burel opened this issue Dec 20, 2019 · 2 comments
Open

Document multiple components creation #97

eric-burel opened this issue Dec 20, 2019 · 2 comments

Comments

@eric-burel
Copy link

@eric-burel eric-burel commented Dec 20, 2019

Hi,

I've managed to create my first component, but is this boilerplate usable to create multiple components in a single package?

@emilhe
Copy link

@emilhe emilhe commented May 16, 2020

Yes, there is no limitation on the number of components.

@xhlulu
Copy link
Contributor

@xhlulu xhlulu commented Aug 4, 2020

To further expand on @emilhe's great answer, DCC's source code organizes each component in a separate React.js file, and they are all imported/exported in src/index.js so that they can be further built when you run npm run build:js.

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