Skip to content

Commit

Permalink
feat: inline style browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorniv committed Sep 21, 2018
1 parent dbb413b commit 029df7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
"src/manifest.json"
],
"styles": [
"src/styles.scss",
"src/styles/main.scss"
],
"scripts": []
},
Expand Down
5 changes: 4 additions & 1 deletion src/app/app.browser.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { TranslatesBrowserModule } from '@shared/translates/translates-browser';
import { AppComponent } from './app.component';
import { AppModule } from './app.module';
import { ServiceWorkerModule } from '@angular/service-worker';
import { InlineStyleModule } from './inline-style/inline-style.module';
import { InlineStyleComponent } from './inline-style/inline-style.component';

// import { ServiceWorkerModule } from '@angular/service-worker';

Expand All @@ -20,11 +22,12 @@ export function getRequest(): any {
}

@NgModule({
bootstrap: [AppComponent],
bootstrap: [AppComponent, InlineStyleComponent],
imports: [
BrowserTransferStateModule,
AppModule,
TranslatesBrowserModule,
InlineStyleModule,
ServiceWorkerModule.register('/ngsw-worker.js', { enabled: false })
],
providers: [
Expand Down

0 comments on commit 029df7d

Please sign in to comment.