How to use the vue-cli-plugin-electron-builder/lib.installVueDevtools function in vue-cli-plugin-electron-builder

To help you get started, we’ve selected a few vue-cli-plugin-electron-builder examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cutls / TheDesk / src / main / Application.ts View on Github external
private async onReady() {
        if (isDevelopment && !process.env.IS_TEST) {
            // Install Vue Devtools
            try {
                await installVueDevtools()
            } catch (e) {
                console.error('Vue Devtools failed to install:', e.toString())
            }
        }
        if (!process.env.WEBPACK_DEV_SERVER_URL) createProtocol('app')

        Timeline.ready()
        Streaming.ready()
        Auth.ready()

        ipcMain.on('dark-theme', (e: Event) => e.returnValue = this.isDarkMode)

        ipcMain.on('is-startup', (e: Event) => {
            // 初回起動かどうかをここで判断させる。timeline.dbかaccount.dbがあれば初回起動じゃない扱いでもいいか?
            e.returnValue = true
        })

vue-cli-plugin-electron-builder

Easily Build Your Vue.js App For Desktop With Electron

MIT
Latest version published 3 years ago

Package Health Score

50 / 100
Full package analysis