I followed the steps in the Dash component boilerplate repo, and tried using the component in an existing Dash app I had by setting
app.scripts.config.serve_locally = True and installing the package in the corresponding virtual environment using
The app runs fine but the component doesn’t work and when I check the browser’s console I get
Uncaught (in promise) Error: my_dash_component was not found. Has anyone had this issue before? I unzipped the tar file with the package and the
my_dash_component folder does exist in there so I’m not sure if I need to copy the .js files somewhere in my project to make sure the app can find them.