[英]Can you save a online library in the spiffs so you can accese it offline
Hallo my question is quit simpel.你好,我的问题很简单。 I have made some IOT projects and i am wondering if you would be able to save eg a javascript library in the spiffs on the esp32 or esp8266 and then retrive it in the browser.
我做了一些物联网项目,我想知道你是否能够在 esp32 或 esp8266 的 spiffs 中保存例如 javascript 库,然后在浏览器中检索它。
The way you normaly do it is like this.你通常这样做的方式是这样的。
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
, but i wonder if you can do something like this if it is saved in the spiffs and you made the right code ,但我想知道如果它保存在 spiffs 中并且你编写了正确的代码,你是否可以做这样的事情
<script src="https://192.168. 0.1/library"></script>
Yes you can send save js librarys or similar in spiffs and then send it to the webpage.是的,您可以在 spiffs 中发送保存 js 库或类似内容,然后将其发送到网页。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.