0

我有 chrome 应用程序,我通过将其添加到 chrome 浏览器来运行它。我的问题是,因为它是一个 javascript 代码,所以我可以使用本地服务器运行此代码。python SimpleHTTPServer 等?该应用程序使用 chrome 串行 API。我尝试通过本地服务器运行它,但它没有得到 chrome.serial 对象。任何帮助表示赞赏。

4

0 回答 0