feat(angular-cli): integrate angular-cli (#989)

This commit is contained in:
hryb 2017-04-18 18:41:04 +03:00 committed by Alexander Zhukov
parent 7b8a6f4e88
commit 523f44b746
138 changed files with 4507 additions and 7170 deletions

View file

@ -1,13 +1,11 @@
import { Component, ViewContainerRef } from '@angular/core';
import * as $ from 'jquery';
import { GlobalState } from './global.state';
import { BaImageLoaderService, BaThemePreloader, BaThemeSpinner } from './theme/services';
import { BaThemeConfig } from './theme/theme.config';
import { layoutPaths } from './theme/theme.constants';
import 'style-loader!./app.scss';
import 'style-loader!./theme/initial.scss';
/*
* App Component
* Top Level Component
@ -49,7 +47,7 @@ export class App {
private _loadImages(): void {
// register some loaders
BaThemePreloader.registerLoader(this._imageLoader.load(layoutPaths.images.root + 'sky-bg.jpg'));
BaThemePreloader.registerLoader(this._imageLoader.load('/assets/img/sky-bg.jpg'));
}
}