创建了Angular CLI项目,然后是Heroes Demo。当地的所有工作正常,试图放在Plunker上 - 没有下载并且没有显示任何错误。你有什么想法吗?
https://plnkr.co/edit/5H7AR95E23IUFD2WCP?p=preview
index.html :(看起来好像没有在应用程序目录中看到文件(
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>USERS</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/ng2-bootstrap/x.x.x/ng2-bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<app-root>....</app-root>
</body>
</html>
plunker使用自己的配置设置。如果您很好奇,只需从plunker创建新的角度项目,然后查看其index.html配置,然后将您更改为Plunker Angular Project