有关于如何构建visual studio上的离子型应用程序的教程吗?
有人用过VS中的离子模板吗?当我试图打开这个模板时,我得到了以下错误:

此扩展名不能安装在任何当前安装的产品上。
如果我通过VS 2013社区模板(在新项目对话中)下载和安装,则在创建项目后会出现以下错误:

未找到导入(CordovaTools)项目
问题:,我怎么能在这里得到那些VS找不到的.targets文件?
发布于 2015-06-24 04:04:36
这是因为这个模板现在只支持VisualStudio2015RC,但是您使用的是VS 12.0,即VS2013。
更新
注意:下面的内容可能会被移到一个博客,或者将来在其他地方可以共享。
环境
工具: Visual 2013更新4+ Apache Cordova CTP 3.1工具
操作系统: Windows 8.1 pro
主题:如何从Visual 2013中的https://github.com/driftyco/ionic-starter-tabs模板开始开发离子
步骤1:
在Visual 2013中创建了一个新的空白Cordova应用程序。
文件-> New->Project->JavaScript->Apache应用程序-> Blank应用程序(命名为TestIonicTemplate)。
第2步:
从https://github.com/driftyco/ionic-starter-tabs下载模板,打开站点http://code.ionicframework.com/#。我们稍后再用。
第3步:
假设模板文件夹是离子启动选项卡主文件夹,而项目是TestIonicTemplate。然后开始将事情合并到VS项目中。

第4步:
根据我们下载的模板中的index.html对VS项目的index.html进行以下修改。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>TestIonicTemplate</title>
<!-- TestIonicTemplate references -->
<link href="http://code.ionicframework.com/1.0.0/css/ionic.css" rel="stylesheet">
<link href="css/index.css" rel="stylesheet" />
<!-- ionic/angularjs js -->
<script src="http://code.ionicframework.com/1.0.0/js/ionic.bundle.js"></script>
</head>
<body ng-app="starter">
<!--
The nav bar that will be updated as we navigate between views.
-->
<ion-nav-bar class="bar-stable">
<ion-nav-back-button>
</ion-nav-back-button>
</ion-nav-bar>
<!--
The views will be rendered in the <ion-nav-view> directive below
Templates are in the /templates folder (but you could also
have templates inline in this html file if you'd like).
-->
<ion-nav-view></ion-nav-view>
<!-- Cordova reference, this is added to your app when it's built. -->
<script src="cordova.js"></script>
<script src="scripts/platformOverrides.js"></script>
<script src="scripts/app.js"></script>
<script src="scripts/controllers.js"></script>
<script src="scripts/services.js"></script>
</body>
</html>
这就是我在波纹中看到的结果:

发布于 2015-06-22 12:54:37
我不太明白您的问题,但您可以使用Visual (VSC)开发Ionic应用程序和其他与web相关的项目,它已经附带了角插件。
如果你的意思是如果VS可以创建Ionic项目,我认为这是不可能的。通过CMD/终端创建它
然后通过您最喜欢的IDE或文本编辑器打开它,以便开始开发。
https://stackoverflow.com/questions/30925967
复制相似问题