Looking for guidance on linking static images with vuejs in electron.
Upon starting the app, I encountered the following response:
The structure of my project folder is as follows:
to-do-desktop:
|
|-.electron-vue
|-build
|-dist
|-node_modules
|-src --> Contains source code and index.ejs
|-static --> Includes images and index.css
|-.babelrc
|-.env
|-.eslintignore
|-.gitignore
|-.travis.yml
|-appveyor.yml
|-package
|-package-lock
|-README.md
|-vue.config
My query revolves around pasting the entire static folder to a specific destination within the browser. In my vue-File, I am currently using this relative path:
static/weiss.png
I followed a tutorial to build the app available at:
https://auth0.com/blog/electron-tutorial-building-modern-desktop-apps-with-vue-js/
To build the app, I used the command:
npm run build
What should be the appropriate relative path and configuration settings to be adjusted?
Your help is greatly appreciated.