mirror of
https://github.com/esphome/esp-web-tools.git
synced 2025-07-27 05:36:40 +00:00
Update the docs to automatically use latest ESP Web Tools (#321)
This commit is contained in:
parent
ec93a0b15d
commit
53094e254e
@ -131,14 +131,14 @@
|
|||||||
</style>
|
</style>
|
||||||
<script
|
<script
|
||||||
type="module"
|
type="module"
|
||||||
src="https://unpkg.com/@justinribeiro/lite-youtube@1.3.0/lite-youtube.js"
|
src="https://unpkg.com/@justinribeiro/lite-youtube@1.4.0/lite-youtube.js"
|
||||||
></script>
|
></script>
|
||||||
<script module>
|
<script module>
|
||||||
import(
|
import(
|
||||||
// In development we import locally.
|
// In development we import locally.
|
||||||
window.location.hostname === "localhost"
|
window.location.hostname === "localhost"
|
||||||
? "/dist/web/install-button.js"
|
? "/dist/web/install-button.js"
|
||||||
: "https://unpkg.com/esp-web-tools@9.2.0/dist/web/install-button.js?module"
|
: "https://unpkg.com/esp-web-tools/dist/web/install-button.js?module"
|
||||||
);
|
);
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
@ -324,7 +324,7 @@
|
|||||||
<pre>
|
<pre>
|
||||||
<script
|
<script
|
||||||
type="module"
|
type="module"
|
||||||
src="https://unpkg.com/esp-web-tools@9.2.0/dist/web/install-button.js?module"
|
src="https://unpkg.com/esp-web-tools/dist/web/install-button.js?module"
|
||||||
></script></pre
|
></script></pre
|
||||||
>
|
>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user