0.0.3 • Published 2 years ago

@vw-tools/tsconfig v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@vw-tools/tsconfig

Description

Typescript configuration for Vue front-end project development.

Notice: The original version was forked from tsconfig.

Installation

npm install typescript @vw-tools/tsconfig -D 
# or
yarn add typescript @vw-tools/tsconfig -D

Instructions

create file tsconfig.json, and add the following:

{
  "extends": "@vue/tsconfig/tsconfig.web.json",
  "compilerOptions": {
    "baseUrl": ".",
    ...
  },
  "include": [
    "src/**/*.ts",
    "src/**/*.tsx",
    "src/**/*.vue",
    "tests/**/*.ts",
    "tests/**/*.tsx",
    "types/**/*.d.ts",
    "types/**/*.ts"
  ]
}