diff --git a/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json b/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json index 13d27e8454..4d4e0c3668 100644 --- a/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json +++ b/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json @@ -24,7 +24,13 @@ "@/*": [ "src/*" ] - } + }, + "lib": [ + "es2015", + "dom", + "dom.iterable", + "scripthost" + ] }, "include": [ "src/**/*.ts",