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:

React Native List Components: FlashList, FlatList, And More

React Native list components: FlashList, FlatList, and more

Explore the evolution of list components in React Native, from `ScrollView`, `FlatList`, `SectionList`, to the recent `FlashList`.

Chimezie Innocent
Jan 16, 2025 â‹… 4 min read
Building An AI Agent For Your Frontend Project

Building an AI agent for your frontend project

Explore the benefits of building your own AI agent from scratch using Langbase, BaseUI, and Open AI, in a demo Next.js project.

Ivaylo Gerchev
Jan 15, 2025 â‹… 12 min read
building UI sixty seconds shadcn framer ai

Building a UI in 60 seconds with Shadcn and Framer AI

Demand for faster UI development is skyrocketing. Explore how to use Shadcn and Framer AI to quickly create UI components.

Peter Aideloje
Jan 14, 2025 â‹… 6 min read
Server-Side Rendering With React Router V7

Server-side rendering with React Router v7

The recent merge of Remix and React Router in React Router v7 provides a full-stack framework for building modern SSR and SSG applications.

Amazing Enyichi Agu
Jan 13, 2025 â‹… 20 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