vladotesanovic / ngSemantic

Angular 2 building blocks :package: based on Semantic UI
https://ng-semantic.herokuapp.com/
MIT License
973 stars 148 forks source link

ng-semantic #166

Open bakoserge opened 7 years ago

bakoserge commented 7 years ago

npm install ng-semantic --save In my angular 2 application. causes my project for to run anymore, there is no compilation error it just the html isn't rendered anymore.

error image link : http://imgur.com/a/8P3Ch

bakoserge commented 7 years ago

Here is my app modules `import { NgModule } from '@angular/core'; import { NgSemanticModule } from 'ng-semantic'; import { BrowserModule } from '@angular/platform-browser'; import { FormsModule } from '@angular/forms'; import { HttpModule } from '@angular/http'; import { AppComponent } from './app.component'; import { HomeComponent } from './home/home.component'; import { AboutComponent } from './about/about.component'; import { routing, appRoutingProviders } from './app.routing'; import { CharacterService } from './shared/character.service'; import {APP_BASE_HREF} from '@angular/common';

@NgModule({ imports: [ BrowserModule, NgSemanticModule, FormsModule, HttpModule, routing ], providers: [ appRoutingProviders, CharacterService, {provide: APP_BASE_HREF, useValue : '/' } ], declarations: [ AppComponent, HomeComponent, AboutComponent ], bootstrap: [AppComponent] }) export class AppModule { }`

fpmk commented 7 years ago

Hi. maybe you have JS erros. Look at console output in Dev tools.