Skip to content

Commit

Permalink
docs: mention ts peer dep change
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `typescript` is now a peer dependency of
`@vue/cli-plugin-typescript`. If you are upgrading from a previous version, you
will need to explicitly install `typescript` in your project.
  • Loading branch information
yyx990803 committed Jul 26, 2018
1 parent ee82c3e commit 9bb74bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@vue/cli-plugin-typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Uses TypeScript + `ts-loader` + [fork-ts-checker-webpack-plugin](https://github.

TypeScript can be configured via `tsconfig.json`.

Since `3.0.0-rc.6`, `typescript` is now a peer dependency of this package, so you can use a specific version of TypeScript by updating your project's `package.json`.

This plugin can be used alongside `@vue/cli-plugin-babel`. When used with Babel, this plugin will output ES2015 and delegate the rest to Babel for auto polyfill based on browser targets.

## Injected Commands
Expand Down

0 comments on commit 9bb74bc

Please sign in to comment.