D
D
danilr2020-02-12 16:12:43
React
danilr, 2020-02-12 16:12:43

How to set absolute path from src folder in create-react-app with typeScript?

I installed the application like this
npx create-react-app my-app --template typescript
Then I did
npm run eject
to pull out all the configs I tried to make the jsconfig.json folder at the root, but it doesn’t build with it, swears, says delete

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2020-02-12
@danilr

There is already tsconfig.json, write baseUrl there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question