Hi,
I have the following folder structure:
to-do-desktop:
|
|-.electron-vue
|-build
|-dist
|-node_modules
|-src → Here is the sourcecode and the index.ejs
|-static → Here are the images and index.css
|-.babelrc
|-.env
|-.eslintignore
|-.gitignore
|-.travis.yml
|-appveyor.yml
|-package
|-package-lock
|-README.md
|-vue.config
My question is now, where do I have to put the images, the index.css and the fonts.
When I run the following command, everything works fine.
npm run dev
But when I build it with this command, these files couldnt be found.
npm run build
What path should I use in my .vue-Files. The path in index.ejs is as follows:
“static/index.css”
Should I change something in the config-files?
Thank you for your help.
Philipp Ziegler