运行 Windows Phone 10 上的 Ionic 2 应用程序

Running Ionic 2 app on Windows Phone 10

我开发了一个 Ionic 2 应用程序,但我找不到在连接到我的 PC 的 Windows Phone 10 设备上 运行 它的方法。我怎样才能做到运行?

谢谢

你试过this:

To build apps for Windows Universal, download and install Visual Studio 2015 Community Edition. During the installation, Select “Tools for Cross Platform Development” as well as the SDK for Windows Universal Apps.

With everything installed, you’ll be able to add a windows platform from the command line with this command:

ionic platform add windows

By default the build command produces two packages: Windows 8.1 and Windows Phone 8.1, which Ionic does not support. To upgrade Windows package to version 10 the following configuration setting must be added to configuration file (config.xml).

<preference name="windows-target-version" value="10.0" />