You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
i got this typescript error when i run ionic serve
Runtime Error
Module parse failed: Unexpected token (43:1468) You may need an appropriate loader to handle this file type. | CartPage = __decorate([ | Component({ | selector: 'page-cart',template:/ion-inline-start:"C:\Users\user\mamashop\src\pages\cart\cart.html"/
<ion-header >\n \n <ion-navbar color="dark">\n <ion-title>\n <ion-icon name="basket"></ion-icon> Cart</ion-title>\n </ion-navbar>\n \n </ion-header>\n \n \n <ion-content class="bg-style">\n \n <ion-list>\n \n <ion-item *ngFor="let item of cart | async">\n\n <ion-thumbnail item-left> \n <img src="{{item.image}}">\n </ion-thumbnail>\n\n <h2>{{item.name}}</h2>\n <p></p>\n \n <button ion-button clear item-right (click)="increment(item)" >\n <ion-icon color="danger" style=" font-size: 25px;" name="ios-arrow-dropup-circle"></ion-icon>\n </button>\n \n <button ion-button clear item-right (click)="decrement(item)" >\n <ion-icon color="danger" style=" font-size: 25px;" name="ios-arrow-dropdown-circle"></ion-icon>\n </button>\n \n <button style=" font-size: 20px;" ion-button clear item-right (click)="remove(item)" >\n <ion-icon color="danger" name="ios-remove-circle"></ion-icon>\n </button>\n </ion-item>\n \n <ion-item *ngIf="(cart | async)?.length" >\n <h2>Grand Total</h2> \n <h2 item-right >${{cartService.cartAmount}}</h2>\n </ion-item>\n \n <ion-item *ngIf="!(cart | async)?.length" >\n <h2 class="center">Cart is empty</h2> \n </ion-item>\n \n <button fixed ion-button icon-start block color="light" *ngIf="(cart | async)?.length" (click)="checkout()">\n <ion-icon name="ios-cart"></ion-icon>\n Checkout\n </button> \n \n </ion-list>\n \n \n </ion-content>
/ion-inline-end:"C:\Users\user\mamashop\src\pages\cart\cart.html"/, | providers: [CartService, AuthService] | }),The text was updated successfully, but these errors were encountered: