diff --git a/dash/resources.py b/dash/resources.py index 1c4574061d..a1853a51fd 100644 --- a/dash/resources.py +++ b/dash/resources.py @@ -39,10 +39,14 @@ def _filter_resources(self, all_resources, dev_bundles=False): filtered_resource['asset_path'] = s['asset_path'] filtered_resource['ts'] = info.st_mtime elif self.config.serve_locally: - warnings.warn( - 'A local version of {} is not available'.format( - s['external_url'] - ) + warnings.warn(( + 'You have set your config to `serve_locally=True` but ' + 'A local version of {} is not available.\n' + 'If you added this file with `app.scripts.append_script` ' + 'or `app.css.append_css`, use `external_scripts` ' + 'or `external_stylesheets` instead.\n' + 'See https://dash.plot.ly/external-resources' + ).format(s['external_url']) ) continue else: