浏览代码

Updates based on latest Ionic release

Matt Raible 7 年前
父节点
当前提交
98a6d8645c
共有 3 个文件被更改,包括 2 次插入4 次删除
  1. 2
    2
      deploy.sh
  2. 0
    2
      server/src/main/java/com/example/beer/BeerController.java
  3. 二进制
      static/android-beer-list.png

+ 2
- 2
deploy.sh 查看文件

@@ -54,9 +54,9 @@ sed -i -e "s|http://localhost:8080|$serverUri|g" src/providers/beer-service.ts
54 54
 npm install
55 55
 
56 56
 # build ios
57
-ionic build ios --prod
57
+ionic cordova build ios --prod
58 58
 # Run on ios
59
-ionic run ios --device
59
+ionic cordova run ios 
60 60
 
61 61
 # If the above command fails with the following error:
62 62
 # xcrun: error: unable to find utility "PackageApplication", not a developer tool or in PATH

+ 0
- 2
server/src/main/java/com/example/beer/BeerController.java 查看文件

@@ -5,8 +5,6 @@ import org.springframework.web.bind.annotation.GetMapping;
5 5
 import org.springframework.web.bind.annotation.RestController;
6 6
 
7 7
 import java.util.Collection;
8
-import java.util.HashMap;
9
-import java.util.Map;
10 8
 import java.util.stream.Collectors;
11 9
 
12 10
 @RestController

二进制
static/android-beer-list.png 查看文件