We need to have a guide that shows people how to create a new app using Material 2 and the Angular CLI. There's been some confusion over how to write System.js config and how to build vendor files into the right folder.
So how do we do it?
I am struggling with this step. Trying to follow what it's said on this page https://github.com/angular/angular-cli/wiki/3rd-party-libs#adding-material2-to-your-project and also here https://github.com/angular/mobile-toolkit/blob/master/guides/app-shell.md
The problem is that createPackageConfig is not recognized and I tried many other ways without success.
Can someone give me an exemple of a working system-config.ts file with material2 please?
Sorry but what about webpack?
I found how to do it by looking at the file in one of Kara's repository here: https://github.com/kara/puppy-love/blob/master/src/system-config.ts
Hope it will help the other people searching for this and before the guide is available.
Agreed, this commit from Kara helped me get everything working.
https://github.com/kara/puppy-love/commit/9e58a62768aabbb342c38fcf63fbeea55787f37c
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
I found how to do it by looking at the file in one of Kara's repository here: https://github.com/kara/puppy-love/blob/master/src/system-config.ts
Hope it will help the other people searching for this and before the guide is available.