Angular: how to import your css file with Webpack without errors

According to the Angular documentation load an external style file in a component is as easy as : template: ` <h2>{{hero.name}}</h2> <hero-team [hero]=hero></hero-team> <ng-content></ng-content> `, styleUrls: ['app/hero-details.component.css'] This configuration is challenging when you have building … Read More

Add highlight.js to an Angular 2 application

With the goal to build my own blog application (for educational purposes) I integrated the highlight.js library in the demo application. At the moment there are problems with safari and mobile platforms, a js error … Read More

Angular and D3.js – tutorial

Goal: use the D3.js library in an Angular 2 project. Result: the result is visible here http://angular.cafe/d3-example Here the steps to integrate the library with Angular 2. In the package.json we have to declare the … Read More

Docker publish and deploy, cheat sheet

In the post Cheap and easy DevOps for developers I described the architecture of the deployment with the focus on the configuration of the proxy. Here a cheatsheet of the operations that I execute to … Read More