準備工作

  1. src/index.html<head></head>尾端加入以下html
    <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    
  2. app.component.html整頁變更為下面html,複製完後用Alt + Shift + f排版 ```

</div>

```

results matching ""

    No results matching ""