如何在Heroku python Dash应用程序中运行引导css组件
我正在尝试在Heroku中运行python Dash应用程序。虽然我添加了正确的文件夹结构如何在Heroku python Dash应用程序中运行引导css组件,python,css,heroku,deployment,plotly-dash,Python,Css,Heroku,Deployment,Plotly Dash,我正在尝试在Heroku中运行python Dash应用程序。虽然我添加了正确的文件夹结构 应用程序 app1.py assets.css reset.css 程序文件 .gitignore 但是Dash引导组件在Heroku环境中工作,但是相同的设置在我的开发环境中工作良好。 这些是我导入的库 import dash import os import dash_daq as daq import dash_bootstrap_components as dbc import dash
- 应用程序
- app1.py
- assets.css
- reset.css
- 程序文件
- .gitignore
import dash
import os
import dash_daq as daq
import dash_bootstrap_components as dbc
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output, State
是的,一个简单的把戏成功了<代码>添加\uuuuu名称\uuuuuu
app = dash.Dash(__name__,external_stylesheets=[dbc.themes.BOOTSTRAP])
python app1.py
位于终端中文件夹的路径。更多信息或@Rayees,css组件在部署后不工作?是的,你是对的