optum-global-navigator-ang2
v8.0.2
Published
Just install the lib and import the css files in [vendor.ts](https://github.com/preboot/angular2-webpack/blob/master/src/vendor.ts). For example this is how to do it with bootstrap:
Downloads
3
Readme
angular2-global-navigator
How to include external css files such as bootstrap.css ?
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';
TypeScript
To take full advantage of TypeScript with autocomplete you would have to use an editor with the correct TypeScript plugins.
Use a TypeScript-aware editor
We have good experience using these editors:
- Visual Studio Code
- Webstorm 11+
- Atom with TypeScript plugin
- Sublime Text with Typescript-Sublime-Plugin