是否可以使用[email protected]创建ionic2项目,而不是现有的[email protected]?
问题描述:
我需要这个,因为我想在添加sqlite插件到项目和编译Windows 10平台的问题。而根据研究,这是一个bug in Cordova-windows 4.4.3 that was resolved to version 5.0.0.是否可以使用[email protected]创建ionic2项目,而不是现有的[email protected]?
更多应用命令ionic platform add windows
添加Windows平台添加的平台是4.4.3:
> ...
> Windows project created with [email protected]
> ...
所以,我怎么能做出用来创建版本[email protected]
项目为windows平台?
答
事实上,这行添加到config.xml文件:
<engine name="windows" spec="5.0.0" />
你也可能希望指定目标版本,例如:
<preference name="windows-target-version" value="10.0" />