Skip to content

TypeScript support #7

Open
Open
@cexbrayat

Description

@cexbrayat

Thank you for making this plugin.

It is currently usable with the TypeScript CLI plugin, but requires a few changes in the generated project:

npx @vue/cli create vtc-repro --inlinePreset '{"plugins": {"@vue/cli-plugin-typescript": {"classComponent": false},"vue-cli-plugin-vue-next": {}}}'

The changes needed are in this commit.

Here is a list:

  • change the App component to use defineComponent
  • remove the shim files

Is it something that the plugin could handle? Or do you have in mind to create another plugin for the TS version?

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