2021-12-16
1690
#electron#vue
Elijah Asaolu
82230
Dec 16, 2021 â‹… 6 min read

Building an app with Electron and Vue

Elijah Asaolu I am a programmer, I have a life.

Recent posts:

A Comprehensive Guide To JavaScript Generators

A comprehensive guide to JavaScript generators

JavaScript generators offer a powerful and often overlooked way to handle asynchronous operations, manage state, and process data streams.

Fimber Elemuwa
Jan 24, 2025 â‹… 8 min read
​​Solving Micro-Frontend Challenges With Module Federation

​​Solving micro-frontend challenges with Module Federation

webpack’s Module Federation allows you to easily share code and dependencies between applications, helpful in micro-frontend architecture.

Peter Aideloje
Jan 23, 2025 â‹… 7 min read
typescript object destructuring

TypeScript object destructuring and you

Whether you’re part of the typed club or not, one function within TypeScript that can make life a lot easier is object destructuring.

Lewis Cianci
Jan 22, 2025 â‹… 5 min read
Using Firebase For ASP.NET Authentication

Using Firebase for ASP.NET authentication

Firebase is one of the most popular authentication providers available today. Meanwhile, .NET stands out as a good choice for […]

Lewis Cianci
Jan 21, 2025 â‹… 9 min read
View all posts

4 Replies to "Building an app with Electron and Vue"

    1. In vue.config.js file:

      const { defineConfig } = require(‘@vue/cli-service’)
      module.exports = defineConfig({
      transpileDependencies: true,
      pluginOptions: {
      electronBuilder: {
      preload: ‘src/preload.js’,
      // Or, for multiple preload files:
      // preload: { preload: ‘src/preload.js’, otherPreload: ‘src/preload2.js’ }
      }
      }
      })

  1. Hello, i just followed this tutorial. Everything worked perfectly. But the build command isn’t working.
    this is the error i’m getting

    Get “https://github.com/electron/electron/releases/download/v13.6.9/electron-v13.6.9-win32-x64.zip”: proxyconnect tcp: dial tcp :0: connectex: The requested address is not valid in its context.
    github.com/develar/app-builder/pkg/download.(*Downloader).follow.func1
    /Volumes/data/Documents/app-builder/pkg/download/downloader.go:206
    github.com/develar/app-builder/pkg/download.(*Downloader).follow
    /Volumes/data/Documents/app-builder/pkg/download/downloader.go:234
    github.com/develar/app-builder/pkg/download.(*Downloader).DownloadNoRetry
    /Volumes/data/Documents/app-builder/pkg/download/downloader.go:128
    github.com/develar/app-builder/pkg/download.(*Downloader).Download
    /Volumes/data/Documents/app-builder/pkg/download/downloader.go:112
    github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).doDownload
    /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:192
    github.com/develar/app-builder/pkg/electron.(*ElectronDownloader).Download
    /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:177
    github.com/develar/app-builder/pkg/electron.downloadElectron.func1.1
    /Volumes/data/Documents/app-builder/pkg/electron/electronDownloader.go:73
    github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2
    /Volumes/data/Documents/app-builder/pkg/util/async.go:68
    runtime.goexit
    /usr/local/Cellar/go/1.16.5/libexec/src/runtime/asm_amd64.s:1371

    Although i’ve search online and i haven’t seen any solution yet. Please can you help me out

Leave a Reply