问题描述
我需要这个,因为我在向项目添加sqlite插件并为windows 10平台编译时遇到问题。根据研究,这是一个
I need this because I am trying to problem in adding sqlite plugin to the project and compile for windows 10 platform. And according to research this is a bug in Cordova-windows 4.4.3 that was resolved to version 5.0.0.
更多应用命令 ionic platform add windows
添加windows平台增加的平台是4.4.3:
More by applying the command ionic platform add windows
to add the windows platform the added platform is the 4.4.3:
> ...
> Windows project created with [email protected]
> ...
那我该如何制作版本用于创建 Windows平台的项目?
So how could I make version [email protected]
used to create the project for the windows platform?
推荐答案
的确,将此行添加到config.xml:
Indeed, add this line to config.xml:
<engine name="windows" spec="5.0.0" />
您也可以指定目标版本,例如:
also you might want to specify the target version, for instance:
<preference name="windows-target-version" value="10.0" />
这篇关于是否可以使用[email protected]而不是当前的[email protected]创建ionic2项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!