IssueRaiser

Add baseUrl and paths in tsconfig.json and jsconfig.json

`tsconfig.json` or `jsconfig.json`: ```js { "compilerOptions": { "baseUrl": ".", "paths": { "@/*":["src/*"] } } } ``` see https://github.com/facebook/create-react-app/issues/5118 This will help VSCode and other IDE to resolve path in TypeScript & JavaScript.

Posted by xiaoxiangmoe on Oct 31, 2018, 6:38 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,000 issues0 comments

github (SaaS)

Add baseUrl and paths in tsconfig.json and jsconfig.json

xiaoxiangmoeOct 31, 2018, 6:38 AM

`tsconfig.json` or `jsconfig.json`: ```js { "compilerOptions": { "baseUrl": ".", "paths": { "@/*":["src/*"] } } } ``` see https://github.com/facebook/create-react-app/issues/5118 This will help VSCode and other IDE to resolve path in TypeScript & JavaScript.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue