]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/main.browser.ts
Videos likes/dislikes is implemented :)
[github/Chocobozzz/PeerTube.git] / client / src / main.browser.ts
CommitLineData
ab32b0fc
C
1import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
2import { decorateModuleRef } from './app/environment';
3import { bootloader } from '@angularclass/hmr';
4/*
5 * App Module
6 * our top level module that holds all of our components
7 */
8import { AppModule } from './app';
41a2aee3 9
ab32b0fc
C
10/*
11 * Bootstrap our Angular app with a top level NgModule
12 */
13export function main(): Promise<any> {
14 return platformBrowserDynamic()
15 .bootstrapModule(AppModule)
16 .then(decorateModuleRef)
17 .catch(err => console.error(err));
4a6995be
C
18}
19
ab32b0fc 20bootloader(main);