Git Product home page Git Product logo

Comments (15)

nklayman avatar nklayman commented on August 23, 2024 2

Make sure to disable history mode on your router for electron builds. Other than that I have no idea.

from vue-cli-plugin-electron-builder.

nklayman avatar nklayman commented on August 23, 2024 1

It's in there. It also notifies you when you add the plugin to a project using vue-router.

from vue-cli-plugin-electron-builder.

nklayman avatar nklayman commented on August 23, 2024

Can you include steps for reproduction as I am unable to replicate the error. Make sure you are using the latest version of vue-cli.

from vue-cli-plugin-electron-builder.

luis-git avatar luis-git commented on August 23, 2024

vue create app-electron

  • manually select features
    select
    Babel
    Progressive Web App (PWA) support
    Router
    VueX
    CSS Pre-processors
    Linter / Formatter
    E2E Testing

  • then choose
    SCSS/SASS

  • then choose
    Eslint with error prevention only

  • thenc choose
    lint on save

  • then Cypress (Chrome only)

  • then choose
    In dedicated config files

  • vue add electron-builder

  • yarn build:electron

those are the steps to reproduce the issue

from vue-cli-plugin-electron-builder.

nklayman avatar nklayman commented on August 23, 2024

Follow the instructions here to add sass/scss support, it should work then. Please close this issue if it does.

from vue-cli-plugin-electron-builder.

luis-git avatar luis-git commented on August 23, 2024

node-sass sass-loader are installed out of the box with vue, that does not solve the issue.
sass

from vue-cli-plugin-electron-builder.

nklayman avatar nklayman commented on August 23, 2024

Not sure why it isn't working. For now, just use regular build/serve until v1.0.0 comes out which will fix this issue. A beta should be released in about 1-2 weeks.

from vue-cli-plugin-electron-builder.

luis-git avatar luis-git commented on August 23, 2024

thanks.

from vue-cli-plugin-electron-builder.

traversng avatar traversng commented on August 23, 2024

I'm running into the same issue. I have attached my package.json. Folder structure is identical to the guide. Using > 1.0.0 and the issue remains.

image

I am just wondering if this is a known bug and if we should reopen the issue

from vue-cli-plugin-electron-builder.

nklayman avatar nklayman commented on August 23, 2024

It works fine for me, can you provide reproduction instructions that work on a fresh project?

from vue-cli-plugin-electron-builder.

nklayman avatar nklayman commented on August 23, 2024

Try upgrading to 1.0.0-rc.2, I think that would fix the issue.

from vue-cli-plugin-electron-builder.

traversng avatar traversng commented on August 23, 2024

@nklayman , sure I'll run a fresh project and see what happens there. I may find my bug in the process anywho. If the bug remains, I will update you. If not, I will update my comment. Thanks for the diligence.

from vue-cli-plugin-electron-builder.

traversng avatar traversng commented on August 23, 2024

@nklayman Just ran a fresh vue cli 3 project with vue-router. No blank screen and routes fine. Now I am really spinning my wheels. Serves fine in my existing project but blank screen in the build. The only other dependencies I have are buefy, vuex, and vuefire.

Update: removed node-sass and sass-loader seemed to fix the issue. Any insight was to why?

from vue-cli-plugin-electron-builder.

brokyo avatar brokyo commented on August 23, 2024

Disabling history mode solved this problem for me but I couldn't find this suggestion anywhere in the docs. Leaving this as a signpost for others :)

from vue-cli-plugin-electron-builder.

vatsal743 avatar vatsal743 commented on August 23, 2024

I had a similar issue. Please find my solution here.
ficonsulting/RInno#107 (comment)

from vue-cli-plugin-electron-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.