diff --git a/src/popup/App.vue b/src/popup/ExtensionActionButtonApp.vue similarity index 91% rename from src/popup/App.vue rename to src/popup/ExtensionActionButtonApp.vue index cb591e7..6922723 100644 --- a/src/popup/App.vue +++ b/src/popup/ExtensionActionButtonApp.vue @@ -195,8 +195,8 @@ :settings="settings" :site="selectedSite" /> - + @@ -206,38 +206,22 @@ diff --git a/src/popup/Popup.ts b/src/popup/Popup.ts new file mode 100644 index 0000000..76694ba --- /dev/null +++ b/src/popup/Popup.ts @@ -0,0 +1,10 @@ +import { createApp } from 'vue' +import App from './ExtensionActionButtonApp.vue'; + +class Popup { + static createApp() { + createApp(App).mount('#app'); + } +} + +export default Popup; \ No newline at end of file diff --git a/src/popup/js/PopupExec.ts b/src/popup/js/ExecAction.ts similarity index 95% rename from src/popup/js/PopupExec.ts rename to src/popup/js/ExecAction.ts index 020f249..3b5f31f 100644 --- a/src/popup/js/PopupExec.ts +++ b/src/popup/js/ExecAction.ts @@ -1,7 +1,7 @@ -import { browser } from 'webextension-polyfill-ts'; +import { browser } from '../../../node_modules/webextension-polyfill-ts/lib/index'; import Settings from '../../ext/lib/Settings'; -class PopupExec { +class ExecAction { settings: Settings; site: any; @@ -82,4 +82,4 @@ class PopupExec { } } -export default PopupExec; +export default ExecAction; diff --git a/src/popup/panels/VideoPanel.vue b/src/popup/panels/VideoPanel.vue index ea36e3b..175b3cf 100644 --- a/src/popup/panels/VideoPanel.vue +++ b/src/popup/panels/VideoPanel.vue @@ -121,7 +121,7 @@