This is a blank app with Angular 6, Angular-CLI 6, Pug, Sass, and Docker support.
There's a step by step tutorial on medium.
- Run
docker-compose up
- Navigate to
http://localhost:4200
- Enjoy ๐
- Supports Webpack Hot Module Reloading via polling.
- Dockerfile
- docker-compose.yml
- ng-add-pug-loader.js (We changed async methods to sync! See Medium post Step #4)
- package.json
- There's a vulnerability in one of the packages. There's an outdated version of Hoek (as of this writing - June 27th, 2018) that seem to be causing issues. (The following GitHub issues are open)
- Thanks @danguilherme for his ng-add-pug-loader!
- We use docker-compose version 3.6 just for the sake of using the newest version. There's no special syntax, so you can safely downgrade it (if you really need to).
- We had to modify
ng-add-pug-loader.js
to use synchronous methods. It was giving problems.