Skip to content

main.js being loaded alongside main.native.js when running npm run serve:android #27

Open
@scebotari66

Description

@scebotari66

I have an existing Vue web app, and I am trying to integrate this plugin to create a mobile app in the same code base.

I wanted to initially build a simple page for the mobile app without any ties to the web app. So I have created a App.native.vue file with a simple template and ran npm run serve:android. While the app starts on the mobile device, I get a lot of warning in the terminal related to the web app components.

I can also see from the terminal that the main.js file is also bundled for the mobile app:
image

I was expecting only the main.native.js file to be loaded. Is this an issue, or did I miss something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions