I am trying to make VSCode to work smoothly with my React project. I am refering to the ability to click into a component and go inside, peek at the component or propose stuff for auto completion (intellisense).
I have this so far:
{
"compilerOptions": {
"module": "es6",
"target": "es2019",
"jsx": "react",
"baseUrl": ".",
"paths": {
"@Reducers/*": ["./src/reducers/*"],
"@Selectors/*": ["./src/selectors/*"],
"@Components/*": ["./src/components/*"],
"@App/*": ["./src/components/App/*"],
"@Footer/*": ["./src/components/Footer/*"],
"@Header/*": ["./src/components/Header/*"],
}
},
"include" : ["src/**/*"],
"exclude": ["node_modules", "dist", "config", ".vscode"]
}
I do not use CRA.
Any idea why is not working? Any help would be appreciated. Thank you in advance and regards