diff --git a/package.json b/package.json index 03b78b0..1807561 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "0.1.0", "private": true, "scripts": { - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", + "serve": "vue-cli-service electron:serve", + "build": "vue-cli-service electron:build", "lint": "vue-cli-service lint", "electron:build": "vue-cli-service electron:build", "electron:serve": "vue-cli-service electron:serve", diff --git a/src/App.vue b/src/App.vue index 4c5957b..5e02853 100644 --- a/src/App.vue +++ b/src/App.vue @@ -36,8 +36,7 @@ export default { Header, }, methods: { setCollapsed(value){ - console.log("This is a call") - console.log(value) + this.isCollapsed = value }, diff --git a/src/background.js b/src/background.js index e29caae..590acd0 100644 --- a/src/background.js +++ b/src/background.js @@ -23,7 +23,7 @@ function createWindow () { if (process.env.WEBPACK_DEV_SERVER_URL) { // Load the url of the dev server if in development mode win.loadURL(process.env.WEBPACK_DEV_SERVER_URL) - if (!process.env.IS_TEST) win.webContents.openDevTools() + if (!process.env.IS_TEST) win.webContents.openDevTools({'mode': 'undocked'}) } else { createProtocol('app') // Load the index.html when not in development diff --git a/src/components/layout/Header.vue b/src/components/layout/Header.vue index c64e403..7203baf 100644 --- a/src/components/layout/Header.vue +++ b/src/components/layout/Header.vue @@ -49,17 +49,18 @@