Skip to content

how to test app on PC before on smartphone #64

@pedefe

Description

@pedefe

Hello,
I succeeds to build my first app and to run it on my smartphone.
Then, because I do code errors, I wish to save time by testing a lot of functions between html page and nodejs core on my Windows PC.
So I run the nodejs core with node main.js, and then I try to run the main web page.
If I launch file:///C:/aDevAndroidJs/ajsTest/views/index.html, page is displayed, and dials with nodejs app. But some object like leaflet can not be used.
Is there a way to launch /views/index.html in the browser with http protocol, something like "https://127.0.0.1:8080/views/index.html" ?
Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions