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:

Rxjs Adoption Guide: Overview, Examples, And Alternatives

RxJS adoption guide: Overview, examples, and alternatives

Get to know RxJS features, benefits, and more to help you understand what it is, how it works, and why you should use it.

Emmanuel Odioko
Jul 26, 2024 â‹… 13 min read
Decoupling Monoliths Into Microservices With Feature Flags

Decoupling monoliths into microservices with feature flags

Explore how to effectively break down a monolithic application into microservices using feature flags and Flagsmith.

Kayode Adeniyi
Jul 25, 2024 â‹… 10 min read
Lots of multi-colored blue and purplish rectangles.

Animating dialog and popover elements with CSS @starting-style

Native dialog and popover elements have their own well-defined roles in modern-day frontend web development. Dialog elements are known to […]

Rahul Chhodde
Jul 24, 2024 â‹… 10 min read
Using Llama Index To Add Personal Data To Large Language Models

Using LlamaIndex to add personal data to LLMs

LlamaIndex provides tools for ingesting, processing, and implementing complex query workflows that combine data access with LLM prompting.

Ukeje Goodness
Jul 23, 2024 â‹… 5 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