<body>
<!-- Ionic's root component and where the app will load -->
<ion-app></ion-app>
<script src="cordova.js"></script>
<!-- The polyfills js is generated during the build process -->
<script src="build/polyfills.js"></script>
<!-- all code from node_modules directory is here -->
<script src="build/vendor.js"></script>
<!-- The bundle js is generated during the build process -->
<script src="build/main.js"></script>
</body>
@ionic/app-scripts
升级到2.0,index页面配置需要修改,增加了vendor导入https://github.com/ionic-team/ionic-app-scripts/blob/master/CHANGELOG.md