Skip to content

RFC: TypeScript plugin #718

Closed
Closed
@yyx990803

Description

@yyx990803

The TypeScript plugin now has a preliminary implementation here with:

  • ts-loader
  • fork-ts-checker-webpack-plugin
  • tslint

TODOs

  • Make the npm run lint script work with *.vue files
  • Ensure compatibility with other plugins (PWA and test plugins)
  • Offer options to use TS alongside Babel

Trying it Out

npm install -g @vue/cli
vue create ts-project
# select manual mode, pick TypeScript

For background on how plugins work in the new vue-cli, see here

Feedback welcome!

/cc @DanielRosenwasser @ktsn @HerringtonDarkholme @octref @kaorun343 @igogrek @prograhammer @Toilal

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