marcushellberg / angular2-polymer-tutorial

Simple project using the @vaadin/angular2-polymer directive to use Polymer components in an Angular 2 application
0 stars 2 forks source link

Production Mode #1

Open evertonrobertoauler opened 8 years ago

evertonrobertoauler commented 8 years ago

Hey there,

This is an awesome project, in developer mode it works just fine, but when I tried to use it in production mode, it didn't work well:

ng serve -prod

404 http://localhost:4200/bower_components/webcomponentsjs/webcomponents-lite.js Failed to load resource: the server responded with a status of 404 (Not Found) 404 http://localhost:4200/bower_components/vaadin-grid/vaadin-grid.min.js Failed to load resource: the server responded with a status of 404 (Not Found)

I don't know why but the angular-cli remove the .js files from the bower_components folder.

marcushellberg commented 8 years ago

Hey. Thanks for reporting! Can you please open up an issue for this on https://github.com/vaadin/angular2-polymer just to make sure that the dev team doesn't miss it?

tehapo commented 7 years ago

Updating angular-cli to 1.0.0-beta.10 resolves this problem.

See also https://github.com/vaadin/angular2-polymer/issues/28#issuecomment-236819272.