title: PrimeNG with Angular2-webpack-starter
body: <p>I'm trying to configure PrimeNG in my Angular2 project based on angular2-webpack-starter (<a href="https://github.com/AngularClass/angular2-webpack-starter" rel="nofollow">https://github.com/AngularClass/angular2-webpack-starter</a>).</p>
  
  <p>I installed PrimeNG and PrimeUI using npm install, then added necessary typings as ambient dependencies:</p>
  
  <pre><code>"jquery": "github:DefinitelyTyped/DefinitelyTyped/jquery/jquery.d.ts#470954c4f427e0805a2d633636a7c6aa7170def8",
  "jqueryui": "github:DefinitelyTyped/DefinitelyTyped/jqueryui/jqueryui.d.ts#a3a5cd5554dc2c0ff8955d1db0673879af3095bc",
  "primeui": "github:primefaces/primeui/primeui.d.ts#7640bc59a3634e501634655217fdd413bed6d003",
  </code></pre>
  
  <p>Firstly I had a problem with jquery typing. It was giving me the following error:</p>
  
  <pre><code>Subsequent variable declarations must have the same type.  Variable '$' must be of type 'cssSelectorHelper', but here has type 'JQueryStatic'.
  </code></pre>
  
  <p>I solved it by commenting out the following lines in <code>typings/browser/ambient/jquery/index.d.ts</code>:</p>
  
  <pre><code>declare module "jquery" {
      export = $;
  }
  declare var $: JQueryStatic;
  </code></pre>
  
  <p>Now I am trying to import <code>primeui-ng-all.min.js</code> within <code>vendor.ts</code> file using <code>import "primeui/primeui-ng-all.min.js";</code> command. However I am getting the following error:</p>
  
  <pre><code>Module not found: Error: Cannot resolve module 'jquery-ui' in .../angular2-webpack-starter/node_modules/primeui @ ./~/primeui/primeui-ng-all.min.js 8:23135-23167
  </code></pre>
  
  <p>Is it the correct way of including PrimeNG in angular2-webpack-starter? How should I solve this problem? And maybe how should I import other files required by PrimeNG, as i.e. stylesheets?</p>