moved login component; improved documentation; other minor improvements

This commit is contained in:
2026-06-11 12:55:01 +02:00
parent ede486cce8
commit a58078dd1c
13 changed files with 1682 additions and 128 deletions

View File

@@ -5,16 +5,10 @@ import { createApplication } from '@angular/platform-browser';
import { createCustomElement } from '@angular/elements';
import { environment } from './environments/environment';
createApplication(appConfig).then((app) => {
const el = createCustomElement(App, { injector: app.injector });
customElements.define('frontend-plugin-demo', el);
return app;
})
// bootstrapPhoenixPluginCustomElement(App, 'frontend-plugin-demo', appConfig)
bootstrapPhoenixPluginCustomElement(App, 'frontend-plugin-demo', appConfig)
.then((app) => {
//if development:
if(!environment.production)
return app.bootstrap(App);
return app!.bootstrap(App);
else
return app;
});