plotly / dash-component-boilerplate

Get started creating your own Dash components here.
266 stars 182 forks source link

Document multiple components creation #97

Open eric-burel opened 4 years ago

eric-burel commented 4 years ago

Hi,

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

emilhe commented 4 years ago

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

xhluca commented 3 years ago

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.