I need to integrate the angular-cli generated application into Sails.js . I came from php background, so I am new to both of these frames.
ng serve
sails lift
Thanks.
The following blog can help you integrate sails with angular 2 http://sharpten.com/blog/2016/02/02/integrating-angular-2-with-sails-js.html
you can download the code from https://github.com/xmaestro/sails-angular2
See the skeleton for Sails and Angular 2
It also integrates the grumbling task to automate development.
Angular 4 client (this is the same as Angular2) + Bootstrap 4
Node JS server (it uses Sails as an MVC infrastructure)
Source: https://habr.com/ru/post/1011719/More articles:C ++ Expand only part of the parameter package - c ++Get the path from the file descriptor if the path is greater than PATH_MAX - cHow to correctly import FormGroup into NgModule in Angular 2 - importPCA in Spark MLlib and Spark ML - apache-sparkIn Jasmine, array.includes does not work (should be replaced by other functions). What for? - javascriptXamarin Forms Error: Java.Lang.NoClassDefFoundError: android.support.graphics.drawable.VectorDrawableCompat - c #System.InvalidOperationException: Unable to enable service for type - c #Abstract class as an interface, without vtable - c ++Need help creating a custom layout for working with Android AlertDialog - androidHow to determine the presence of a static member function with a specific signature? - c ++All Articles