【发布时间】:2015-11-08 10:39:38
【问题描述】:
我目前正在尝试将工作的 Windows 8 JavaScript 应用程序移植到 Windows 10 UAP 应用程序。在我的 Windows 8 应用程序中,我大量使用了这个 SQLite 包装器和库:https://github.com/doo/SQLite3-WinRT。但是,根据 repo 的自述文件中的设置说明将 SQLite3-WinRT 添加到我的 Windows 10 UAP 应用程序后,我从添加到我的 /js 的 SQLite3.js 源文件中收到“未定义 WinJS”错误应用程序中的目录(它在 Windows 8 应用程序中正常工作的方式)。我在这里做错了什么,或者这个 SQLite3-WinRT 不能与 Win 10 UAP 一起工作,有没有更好的方法在 JavaScript Windows 10 UAP 应用程序中使用 SQLite?非常感谢!
【问题讨论】:
-
不知道现在是什么状态。看到这个一周前的评论:stackoverflow.com/questions/31733553/…
-
感谢您的链接!我终于能够使github.com/doo/SQLite3-WinRT 在 Windows 10 通用应用程序中工作,因为未定义 WinJS 错误来自我在 default.html 文件中犯的另一个错误。我现在在部署到 Windows 10 移动版时遇到了问题,并在这里提出了一个新问题:stackoverflow.com/questions/32032927/…
标签: javascript sqlite windows-runtime winjs win-universal-app