how to implement angular2 material in sail.js?

264 Views Asked by At

What is the layout.js file in sails.js, to implement angular 2 material in sails.js?

What are the changes we have to make in layout.js which is the system.config.js file in angular2?

Can anyone explain clearly about this concept?

1

There are 1 best solutions below

6
On BEST ANSWER

Best way to make sails/angular application is to to do it by REST API based architecture. You remove views from sails and create REST APIs for standalone Angular2 application. Then you use angular 2 material in Angular2. This way you will have least of problems.