Skip to content

Vue PublicPath Docs/Troubleshooting #2106

@brentspector

Description

@brentspector

URL
https://ionicframework.com/docs/vue/troubleshooting

What is missing or inaccurate about the content on this page?
https://cli.vuejs.org/config/#publicpath

Vue offers the ability to overrride the base URL for the application by specifying a "publicPath" in the vue.config.js file. This config is required if you deploy the application to GItHub pages, since the server behaves similar to this Nginx Config https://github.com/brentspector/reborn-pokepedia/blob/master/nginx/nginx.conf

The issue is that when converting the app to an Android app, the build uses this override. Unfortunately, android apps do not need this and it causes the app to deploy a blank white screen.

A couple of things to add

  1. Troubleshooting if "publicPath" is correctly set.
  2. Using "logcat" in Android Studio to gain insight into why an app is showing a blank white screen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentIssues related to the contents of the documentation website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions