$ npm install
$ npm start
[http://localhost:8080](http://localhost:8080)
As an alternative, you can work using Hot Module Replacement (HMR):
npm run start:hmrAnd you are all set! You can now modify your components on the fly without having to reload the entire page.
npm testnpm run test-watchnpm startnpm run webdriver-startnpm run e2enpm run e2e-liveTo build your application, run:
npm run buildYou 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 docsIt'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:
import 'bootstrap/dist/css/bootstrap.css';
Sources :
Generated using TypeDoc