Skip to content

Modifications in App.vue are not retained when typescript plugin is added to a CLI created project afterwards #3001

Open
@ronaldborman

Description

@ronaldborman

Version

3.0.3

Node and OS info

Node 8.9.4 / npm 5.6.0 / Windows 10

Steps to reproduce

  1. execute 'vue create vue-issue' and choose the default preset (babel, eslint);
  2. modify App.vue (for instance add a div to the template section);
  3. execute 'vue add @vue/typescript' (version 3.1.1) in the root of the 'vue-issue' folder. Don't use class-style component syntax but do use Babel alongside TypeScript.

What is expected?

App.vue still contains my modifications after adding the typescript plugin.

What is actually happening?

The modifications are not retained.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions