Angular2 + webpack-hot-middleware + express/feathers

I believe I have some simple issue with path or something similar in my app.

App Structure:
root/public/build      <-- publicPath in webpackConfig
root/public/index.html <-- Statically sitting there
root/client/           <-- client/angular2 source code
root/server/           <-- express/featherjs server

Contents of index.html

<html>
<head>
  <title>Angular Webpack</title>
</head>
<body>
  <app>Loading...</app>
  <script src="/build/vendor.bundle.js"></script>
  <script src="/build/bundle.js"></script>
</body>
</html>

Leave a Reply

avatar
  Subscribe  
Notify of