add essential icon registry
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import '@umbraco-ui/uui';
|
||||
import { UUIIconRegistryEssential } from '@umbraco-ui/uui';
|
||||
import '@umbraco-ui/uui-css/dist/uui-css.css';
|
||||
|
||||
// TODO: lazy load these
|
||||
@@ -48,6 +48,8 @@ export class UmbApp extends UmbContextProviderMixin(LitElement) {
|
||||
}
|
||||
`;
|
||||
|
||||
private _iconRegistry: UUIIconRegistryEssential = new UUIIconRegistryEssential();
|
||||
|
||||
private _isInstalled = false;
|
||||
|
||||
private _view?: HTMLElement;
|
||||
@@ -57,10 +59,8 @@ export class UmbApp extends UmbContextProviderMixin(LitElement) {
|
||||
constructor() {
|
||||
super();
|
||||
this.addEventListener(umbRouterBeforeEnterEventType, this._onBeforeEnter);
|
||||
}
|
||||
this._iconRegistry.attach(this);
|
||||
|
||||
connectedCallback(): void {
|
||||
super.connectedCallback();
|
||||
const { extensionRegistry } = window.Umbraco;
|
||||
|
||||
this.provideContext('umbExtensionRegistry', window.Umbraco.extensionRegistry);
|
||||
|
||||
Reference in New Issue
Block a user