$ npm install
$ npm start
As an alternative, you can work using Hot Module Replacement (HMR):
npm run start:hmr
And you are all set! You can now modify your components on the fly without having to reload the entire page.
npm run test-watch
npm run webdriver-start
npm run e2e
npm run e2e-live
To build your application, run:
npm run build
You can now go to
/dist and deploy that to your server!
You can generate api docs (using TypeDoc) for your code with the following:
npm run docs
It's simple, just install the lib via npm and import it in your code when you need it. Don't forget that you need to configure some external libs in the bootstrap of your application.
Just install the lib and import the css files in vendor.ts. For example this is how to do it with bootstrap:
npm install bootstrap@next --save
And in vendor.ts add the following:
Generated using TypeDoc