Skip to content

Commit f24dfc8

Browse files
committed
use [email protected] instead of @2.0.0
1 parent a814103 commit f24dfc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ module.exports = {
136136
137137
#### Adding TypeScript Support:
138138
139-
When you invoke/add vue-cli-plugin-electron-builder, it will ask you if you use TypeScript and configure accordingly. However, if you answered no and decide to add TypeScript later on, you must install electron-webpack-ts: `yarn add electron-webpack-ts --dev` (or with NPM: `npm install --save-dev electron-webpack-ts`).
139+
When you invoke/add vue-cli-plugin-electron-builder, it will ask you if you use TypeScript and configure accordingly. However, if you answered no and decide to add TypeScript later on, you must install electron-webpack-ts@1.4.0: `yarn add electron-webpack-ts@1.4.0 --dev` (or with NPM: `npm install --save-dev electron-webpack-ts@1.4.0`).

generator/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = (api, opts) => {
88
'electron-webpack': '^1.13.0',
99
electron: '^1.8.4'
1010
}
11-
if (opts.useTypescript) devDependencies['electron-webpack-ts'] = '^2.0.0'
11+
if (opts.useTypescript) devDependencies['electron-webpack-ts'] = '^1.4.0'
1212
api.extendPackage({
1313
scripts: {
1414
'build:electron': 'vue-cli-service build:electron',

0 commit comments

Comments
 (0)