1👍
I found the solution. Perhaps a good instruction for others, with the same problem. It’s a very weird topic, and the documentation for deploying to a hosted server is very inadequate in the web.
If you want to deploy e.g. to:
m.myapp2go.de/vueapp/
you have to set the vue CLI configuration in the vue ui as follows:
Then run
npm run build
and then copy the index.html to your root-folder on the server and your dist-folder to your dist-folder on server.
And, voilà, the test app is running perfect on the hosted server!
- [Vuejs]-How properly to use bootstrap-vue's panel?
- [Vuejs]-Problem using Firefox ESR 45.4.0 and Vuejs 2
Source:stackexchange.com