Closed paltman closed 4 years ago
This should allow passing in configuration values that can be available to widgets that vary from site to site.
const config = { mapAccessToken: 'XXXXXXXXX', }; Vue.use(SkeletonPlugin, { iconMap, config });
Then in the widget:
computed: { accessToken() { return this.$scaife.config.mapAccessToken; }, }
This should allow passing in configuration values that can be available to widgets that vary from site to site.
Usage
Then in the widget: