DEV Community

Discussion on: Setup a React.JS Project with TypeScript, ESLint and Prettier without create-react-app

Collapse
 
renatobentorocha profile image
Renato Rocha

Hi Erik, tanks by comments!

To that with React.JS we need use: customize-cra and react-app-rewired. I already did it, but I not wrote a post about it. So I found this article that could help you whit it.

This is my repo with this config.

In TypeScript I believe we config the tsconfig.json with:

   "baseUrl": "./src",
    "paths": {
      "~/*": ["*"] // resolve any `~/foo/bar` to `<baseUrl>/foo/bar`
    }

Obs: My repo and the article not use TypeScript.

Best regard