From the course: Data Visualization in Python with Dash

Unlock the full course today

Join today to access over 25,200 courses taught by industry experts.

Adding external assets to your applications

Adding external assets to your applications - Python Tutorial

From the course: Data Visualization in Python with Dash

Adding external assets to your applications

- [Instructor] For this video, you need to check out a brunch O3,O3b. If you look at the folder structure, you'll see that we now have a folder for O3,O3, and we have a file code and dash underscore star sheet dot PY, we have our data file and we have a new folder called Assets, which contains a fabric core and a style sheet. We're now going to look at how to include CSS style sheets in your dash applications. By default, dash we'll look for assets such as stow sheets, JS files and the fabric core and a file called Assets in the root of your project. If this structure is followed, your outward automatically detect your applications assets with no code needed. Which is very handy indeed. By default, the URL to request the assets will be forward slash assets. But you can customize this with the assets URL path argument to dash dot dash. For more details about adding CSS and JS to your applications, you can refer to the…

Contents