私は私のアプリにnode_modulesライブラリをインポートしようとしてきたが、コンソールが見つかりません角2 node_modulesでライブラリをインポートする方法は?
GET http://localhost:4200/node_modules/systemjs/dist/system.src.js
を返し続けます。どのようにこれを修正する方法を知っていますか?
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>PrcApplication</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script src="../node_modules/systemjs/dist/system.src.js"></script>
</head>
<body>
<app-root>Loading...</app-root>
</body>
</html>
「index.html」と「node_modules」の両方のフォルダ構造を教えてください –