diff --git a/package.json b/package.json index c507f58..39d5633 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wkit", - "version": "1.10.3", + "version": "1.10.4", "type": "module", "description": "A library for building fast, lightweight web components.", "main": "dist/index.js", diff --git a/src/index.js b/src/index.js index d1e4fee..b4ae6b5 100644 --- a/src/index.js +++ b/src/index.js @@ -252,6 +252,9 @@ export class Component extends HTMLElement { } } } + if (window.wkitd && this.$store) { + window.wkitd.deassign(this) + } } this.unmounted() }