As this is a repo with starter projects, how you deploy a finished widget will be mainly up to you own purposes.
Within the context of WxCC Desktop, there are some best practices that may come in handy.
- Run
yarn dist
from root of project to make adist
folder containing the bundledindex
file - Name the file to best suit your needs. Semantic versioning is very helpful while adding features. For example,
profile-view-widget-6.3.0
- Upload the file to your web hosting service where it can be retrieved via a CDN link
- Add that web link to your WxCC applications desktop config settings, using the JSON guidelines from UUIP
- Be sure to configure your attributes, properties (including any WxCC application state that should be passed in), and necessary Bearer Token for the Customer Journey API calls.