Open bakoserge opened 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 { }`
Hi. maybe you have JS erros. Look at console output in Dev tools.
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