[Vuejs]-Why electron builder dont include files

0👍

When you work in dev mode after build all the files kept inside the resource directory. like

                    app 
                     |-  dlls
                     |- app.exe
                     |- resources
                               |- app(folder)  all the JS files kept inside this.

But in case of prod

                   app 
                     |-  dlls
                     |- app.exe
                     |- resources
                               |- app.asar  all the JS files kept inside this zip.

so first check where to kep this and how you try to access this db file .

Hope it will work.

Leave a comment