Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to get HMR working in Vue with TypeScript #9507

Open
@trajano

Description

@trajano

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 8.0.2
  • Cross-platform modules:
  • Android Runtime: ^8.0.0
  • iOS Runtime: ^8.0.0
  • XCode Version: 12.5.1
  • Plugin(s):

Describe the bug

Trying to get a HMR working with TypeScript and Vue

To Reproduce

ns create --vue --ts  ns-vue-app
# I also tested with ns create --vue   ns-vue-app no typescript and get similar results
cd ns-vue-app
ns run ios
# app is now in simulator
# modify app/components/Home.vue so the message is changed
#save

Expected behavior

The modified message appears in the simulator

Sample project

Additional context

Running on macOS and Simulator is running iPad Air simulator

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions