title: require function is not working in Asp.netcore javascript
body: <p>I tried to implement WebRTC simple-peer video chat application using .net core MVC. But when writing javascript implementation that needs to make peer connection, they have used require(&quot;xxx&quot;) function
  and I am getting an error that required is not defined. I know this needs node or requirejs. I have tried installing the node also but it is not working.</p>
  <pre><code> 1)let Peer = require('simple-peer');
     let p = new Peer()
  </code></pre>
  <p>can anyone tell me how to load the required function in .netcore MVC project javascript files? (I have also use SignalR)</p>