配置文件
按图配置即可生效
{ "compilerOptions": { "baseUrl": "", "paths": { "@/*": ["src/*"] }, "target": "ES6", "allowSyntheticDefaultImports": true }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"] }
配置文件
按图配置即可生效
{ "compilerOptions": { "baseUrl": "", "paths": { "@/*": ["src/*"] }, "target": "ES6", "allowSyntheticDefaultImports": true }, "include": ["src/**/*"], "exclude": ["node_modules", "dist"] }