vuejs/tsconfig

Is this config suitable for vue2 project?

lovetingyuan opened this issue · 2 comments

Is this config suitable for vue2 project?

Yes. Here is my vue2 ts config

{
    "extends": "@vue/tsconfig/tsconfig.web.json",
    "compilerOptions": {
        "paths": {
            "@/*": ["./src/*"]
        }
    },
    "include": ["./src/**/*"],
    "vueCompilerOptions": {
        "experimentalCompatMode": 2
    }
}

thank you, I will try this.