Initial commit

This commit is contained in:
2025-06-26 13:38:07 +02:00
commit 2533cbbcab
32 changed files with 457 additions and 0 deletions

View File

@ -0,0 +1,27 @@
// ##RUNTIME_IMPORT##
import { bootstrap, createHttpClient } from '@telia-ace/widget-core-flamingo';
// ##PLUGIN_IMPORTS##
const client = createHttpClient('https://widgets-dev.ace.teliacompany.net/v1');
(async () => {
bootstrap(
{
httpClient: client,
apps: [
{
renderStrategy: '##RENDER_STRATEGY##',
autoActivate: true,
widgetId: '##WIDGET_ID##',
triggerIcon: 'question',
},
],
},
(siteConfig) => {
siteConfig.applications.forEach((config) => {
// ##PLUGINS##
});
}
);
})();