Last change
on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
642 bytes
|
Line | |
---|
1 | import { enableProdMode<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%> } from '@angular/core';
|
---|
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
---|
3 |
|
---|
4 | import { AppModule } from './app/app.module';
|
---|
5 | import { environment } from './environments/environment';
|
---|
6 |
|
---|
7 | if (environment.production) {
|
---|
8 | enableProdMode();
|
---|
9 | }
|
---|
10 | <% if(!!viewEncapsulation) { %>
|
---|
11 | platformBrowserDynamic().bootstrapModule(AppModule, {
|
---|
12 | defaultEncapsulation: ViewEncapsulation.<%= viewEncapsulation %>
|
---|
13 | })
|
---|
14 | .catch(err => console.error(err));
|
---|
15 | <% } else { %>
|
---|
16 | platformBrowserDynamic().bootstrapModule(AppModule)
|
---|
17 | .catch(err => console.error(err));
|
---|
18 | <% } %> |
---|
Note:
See
TracBrowser
for help on using the repository browser.