[Vuejs]-OnsenUi with Cordova load error

0👍

Looks like a filesystem URL has been used somewhere where a HTTP URL is expected. What happens if you search your code for “file:///”?

0👍

It is a bit late to answer, still, I think it may help someone who is facing this same issue.

According to @Zveratko the steps followed was

  • vue init OnsenUI/vue-cordova-webpack hello-world
  • npm install
  • cordova platform add android
  • cordova emulate android

Some steps are missing in the process and that is the cause of the error. As this project is built with webpack, so it needs to be compiled before running it to android emulator.

Steps should be

  • vue init OnsenUI/vue-cordova-webpack hello-world
  • npm install
  • npm run build
  • cordova platform add android
  • cordova emulate android

Leave a comment