preboot/angular-webpack

Error when import css in vendors.ts

Closed this issue · 1 comments

I'm getting build error when trying to ass bootstrap css file to vendors...

// Angular 2
import '@angular/platform-browser';
import '@angular/platform-browser-dynamic';
import '@angular/core';
import '@angular/common';
import '@angular/http';
import '@angular/router';

import 'rxjs';
import '@angularclass/hmr';

// Other vendors for example jQuery, Lodash or Bootstrap
// You can import js, ts, css, sass, ...
import 'bootstrap/dist/css/bootstrap.css';

Problem solved...inside bootstrap.css was a reference to fonts folder and it wasn't exist...
I copied bootstrap fonts folder inside node_modules/bootstrap and working like expected.