1.0.2 • Published 6 years ago
dynamic-form-jr v1.0.2
sails-angular2
A simple Sails and Angular 2 starter app
To run this you will need typescript compiler and npm/node installed and setup.
Steps
Install packages and depencies
npm install
Here some commands you can use to run the app,
npm run start
: Build the project's assets (front-end), starts running sails and open a new window with ng server watching code for updates in real time.npm run build
: Builds the project's assets in development environment. Addbuild:prod
for production andbuild:aot
for ahead of time compilation.npm run dev
: Will start running sails in dev environment (runnpm run build:dev
before).npm run prod
: Will run sails in prodution environment. You should use this for deploying to a public server (runnpm build:prod
before).