You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running npm build, it will create a build/plugin-flex-ts-template-v2.js, but this alone is not enough for self-hosting a Flex instance.
Looking at @twilio/flex-plugin-scripts/dev_assets/ I can see some assets and index.html that give me a direction on how a Flex Instance would work, but it fails to call /plugins since this doesn't exist with the production build.
Is there any official documentation on how to self-host? I tried searching on Twilio official docs and I didn't find anything.
The text was updated successfully, but these errors were encountered:
Hi @varugasu! Normally with self-hosted Flex you wouldn't use plugins; rather, you would integrate the code from the plugin into your Flex application code base. However, you can enable plugins within self-hosted Flex if you'd like, and at that point you can use plugins that were deployed via all the standard processes for hosted Flex. To do so, enable the pluginService flag within your appConfig.js. More info regarding that flag and appConfig.js are available here.
When running
npm build,
it will create abuild/plugin-flex-ts-template-v2.js
, but this alone is not enough for self-hosting a Flex instance.Looking at
@twilio/flex-plugin-scripts/dev_assets/
I can see some assets andindex.html
that give me a direction on how a Flex Instance would work, but it fails to call/plugins
since this doesn't exist with the production build.Is there any official documentation on how to self-host? I tried searching on Twilio official docs and I didn't find anything.
The text was updated successfully, but these errors were encountered: