No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. crmi
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    crmi

    @crmi

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    crmi Follow

    Latest posts made by crmi

    • Electron Building with Quasar CLI - Background threads

      Hi there,

      I am currently switching from Webpack + Vue CLI to the Quasar CLI in order to full take advantage of Quasar v2.0’s seamless Vue 3.0 integration. My application is Electron based and uses Electron Builder to package.

      In addition to the Vue frontend, which Webpack builds with a target of electron-renderer, I also have a number of background threads that Webpack builds with a target of “node” that are run using fork from the main process.

      Once I switch to Quasar CLI, is there a known way to use the quasar.conf file to build for multiple targets in this way? That is, have a single build command that builds both my Quasar frontend as well as my background threads using slightly different Webpack settings for each.

      If not, I will need a hook from Quasar to fire up an external version of Webpack to pack my background threads. This will need to fire after Quasar has built the SPA but before Electron Builder starts, and wait for it to return before starting Electron Builder. Not sure if the beforeBuild hook fits the bill here.

      Has anyone successfully created a build setup like this, and do you have any tips for a successful switchover?

      posted in CLI
      C
      crmi