question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vue Cordova Blank screen on W10

See original GitHub issue

I have a Vue2 App, when i try to use vue-cordova-cli on mine app for deploy on android’s device, it doesn’t works and only look a with blank screen, i look for all sites of internet for look the solution with not luck.

I display you the configuration that i have:

  • System Operative: Windows 10
  • CLI: Powershell (Administrative Privilege)
  • Android: 7.1.1
  • Commands npm
   vue add cordova
   npm run cordova-prepare
   npm run cordova-serve-android
  • main.js
import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
  • vue.config.js
module.exports = {
  publicPath: '',
  pluginOptions: {
    cordovaPath: 'src-cordova'
  }
}

More info: All my test are doing using my device connect to my pc using a usb link and i have a lot of deploy previously to that using that way.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

13reactions
m0dch3ncommented, Oct 24, 2019
module.exports = {
  devServer: {
    https: false
  }
}
4reactions
kaangokdemircommented, Mar 27, 2020
module.exports = {
  devServer: {
    https: false
  }
}

I’m using MacOS Catalina 10.15.3 and thanks to @m0dch3n this lines solved my problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - Vue Cordova Blank screen - Stack Overflow
I have a Vue2 App, when i try to use vue-cordova-cli on mine app for deploy on android's device, it doesn't works and...
Read more >
Fixing blank screen on Cordova/PhoneGap and Vue
If you tried to run you Vue application under Cordova, you might have ran into an issue where the whole screen is blank....
Read more >
Ionic vue project show blank page on the emulator
Hi. I have an ionic vue project that shows a blank screen when I open it on an emulator. Thinking I missed something...
Read more >
cordova-plugin-splashscreen - hls-xcmg-vue-app - GitLab
cordova -plugin-splashscreen. This plugin is required to work with splash screens. This plugin displays and hides a splash screen during application launch.
Read more >
cordova-plugin-splashscreen
cordova -plugin-splashscreen · Installation · Supported Platforms · Platform Splash Screen Image Configuration. Example Configuration; Android-specific Information.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found