-
Initially I was hoping to find a www.stackblitz.com sample app using this, as I need to ensure I've my environment right. Then I see the Projects/Demo directory, but "ng serve" doesn't work in any of the directories (Cannot determine project or target for command.), nor can I just open index.html from a browser without an error. Does anyone have a super simple standalone version for us newbies? Or directions for building the existing demo app? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
OK, I have a 'solution' for anyone else figuring this out. (It may quite inelegant though!) From the angular-async-local-storage-main\projects\demo directory: You may have to change <iframe src="http://localhost:8080"></iframe> to <iframe src="http://localhost:4200"></iframe> in file demo\src\app\app.component.tsBrowse to: and one should see a display like the following: |
Beta Was this translation helpful? Give feedback.
OK, I have a 'solution' for anyone else figuring this out. (It may quite inelegant though!)
From the angular-async-local-storage-main\projects\demo directory:
npm install -g @angular/cli
npm install -g @angular/core
npm install -g rxjs
npm install -g @ngx-pwa/local-storage
npm install @angular-devkit/build-angular
ng build
ng serve -o demo
You may have to change
<iframe src="http://localhost:8080"></iframe> to <iframe src="http://localhost:4200"></iframe> in file demo\src\app\app.component.tsBrowse to:
http://localhost:4200
and one should see a display like the following: