FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Do typescript files need to be compiled to js before they work? · Issue #15 · NativeScript/NativeScript · GitHub

Do typescript files need to be compiled to js before they work? #15

Description

I'm following the getting started tutorial.

  1. Created the project using tns and it runs fine on the android device
  2. Opened the folder as a website in visual studio and added a few files (sighnpView.xml and signUpView.ts). The .ts files do not compile on save.
  3. I run the project and the alert statement in the onLoad function does not fire.
  4. I added a new file "signupView.js" and it works just fine.

Is nativescript supposed to compile the typescript files or I'll have to make sure the correct js files exist? Not sure if I should add a gulp task to do the compilation.

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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


      Back | FazBrowse Home | New Git URL