Initial commit
This commit is contained in:
20
templates/site/index.js
Normal file
20
templates/site/index.js
Normal file
@ -0,0 +1,20 @@
|
||||
// ##RUNTIME_IMPORT##
|
||||
import { bootstrap, createHttpClient } from '@telia-ace/widget-core-flamingo';
|
||||
// ##PLUGIN_IMPORTS##
|
||||
|
||||
(async () => {
|
||||
|
||||
const client = createHttpClient('https://widgets-dev.ace.teliacompany.net/v1');
|
||||
|
||||
bootstrap(
|
||||
'##SITE_URL##',
|
||||
(siteConfig) => {
|
||||
siteConfig.applications.forEach((config) => {
|
||||
// ##PLUGINS##
|
||||
});
|
||||
},
|
||||
{
|
||||
httpClient: client,
|
||||
},
|
||||
);
|
||||
})();
|
||||
Reference in New Issue
Block a user