Top "Angular2-cli" questions

How to use jsPDF with angular 2

I got an Error: jsPDF is not defined , I am currenty using following code : import { Component, OnInit, Inject } from '@…

angular jspdf angular2-cli
Typescript: is not assignable to type error

I am new to using typescript with angular 2. I am using version 1 of angular 2-cli. When compiling, I get this …

javascript angular typescript angular2-cli
angular2-cli gives @multi styles error

I started using angular2-cli recently and created a new project. I wanted to use bootstrap in my project hence …

css angular styles angular2-cli
angular2-cli include custom fonts

I am trying to include some custom fonts in my project with no success. NOTE: I am using angular-cli: [email protected]

angular fonts webpack angular2-cli
Invalid configuration object. Webpack has been initialised using a configuration

As of this morning, with Angular CLI 1.0.0-beta.14 I ng new try3 and ng serve and get the following error: …

angular angular2-cli
Angular 6 + CLI (TypeScript) - How to stop generating .spec.ts test files

I know it's kind of a bad practice, but bear with me: I'm using Angular-CLI, particularly ng g to generate …

angular typescript angular-cli angular2-cli
How to serve an angular2 app in a node.js server

I'm building a web app using Angular2, to create the project I'm using Angular2 CLI webpack. Angular2 app uses other …

node.js angular angular2-cli
angular-cli for angular2 how to load environment variables

I am new to the angular-cli and want to load url's for my api service calls by env. E.g. …

angular angular2-cli
Module not found: Error: Can't resolve 'hammerjs'

I updated my Angular 2 CLI project from 1.0.0-beta.11-webpack.2 to 1.0.0-beta.11-webpack.8 via ng init. My project uses Angular 2.0.0-rc.5 …

angular angular2-cli
How to add SockJS into Angular 2 project?

I use angular-cli to generate a new project. Now I want to add socketJs to the project, but keep getting …

typescript angular systemjs angular-cli angular2-cli