UNPKG

467 BJavaScriptView Raw
1import { applyPolyfills, defineCustomElements, } from '@aws-amplify/ui-components/loader';
2import Vue from 'vue';
3// Tell Vue to ignore all components defined in the @aws-amplify/ui-components
4// package. The regex assumes all components names are prefixed
5// 'amplify-'
6Vue.config.ignoredElements = [/amplify-\w*/];
7// Bind the custom elements to the window object
8applyPolyfills().then(() => {
9 defineCustomElements(window);
10});
11//# sourceMappingURL=index.js.map
\No newline at end of file