Files
groceries-price-tracker/src/main.ts

9 lines
361 B
TypeScript

import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { App } from './app/app';
import { BarcodeReader } from './app/web-components/barcode-reader';
bootstrapApplication(App, appConfig)
.then(() => customElements.define('barcode-reader', BarcodeReader))
.catch((err) => console.error(err));