Skip to content

Commit 6b9582c

Browse files
committed
fix(demo): solved rendering issue
1 parent da2e294 commit 6b9582c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Demo app for @angular-material-extensions/google-maps-autocomplete",
66
"scripts": {
77
"ng": "ng",
8-
"start": "ng serve",
8+
"start": "ng serve --port 4021",
99
"serve:prod": "ng serve --prod",
1010
"build": "ng build",
1111
"build:doc": "cd ../ && gulp build:doc",

demo/src/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const googleMapsParams = {
3636
// Add .withServerTransition() to support Universal rendering.
3737
// The application ID can be any identifier which is unique on
3838
// the page.
39-
BrowserModule.withServerTransition({appId: '@angular-material-extensions/google-maps-autocomplete-demo-id'}),
39+
BrowserModule.withServerTransition({appId: 'demo'}),
4040
Angulartics2Module.forRoot(),
4141
AgmCoreModule.forRoot(googleMapsParams),
4242
MatGoogleMapsAutocompleteModule.forRoot(),

0 commit comments

Comments
 (0)