Skip to content

Commit

Permalink
docs: load component js as module type in mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 6, 2024
1 parent 972430a commit dfb0e87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ theme:
# custom_dir: docs/overrides

extra_javascript:
- https://s3.amazonaws.com/hotosm-ui/latest/ui.js
# - https://s3.amazonaws.com/hotosm-ui/latest/ui.js
- path: https://cdn.jsdelivr.net/gh/hotosm/ui@latest/dist/ui.js
type: module

extra_css:
- css/extra.css
Expand Down

0 comments on commit dfb0e87

Please sign in to comment.