You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using "react-scripts-ts": "3.1.0" and in that I am trying to use paths property of tsconfig
in order to resolve my components
e.g "paths": {
"@coe/common/": ["/src/common/"]
}
with "baseUrl": "."
but its not working.
its giving me error as "could not able to resolve the components"
I am not sure whether I am doing something wrong or this is not available in "react-scripts-ts": "3.1.0"
can you please guide me for the same
Actually I am using react-scripts-ts of "wmonk"
and there I am not able to log any issue, that is the reason added the concern over here
So is the same concept which is getting integrated in create-react-app ? https://facebook.github.io/create-react-app/docs/adding-typescript
Correct @Uma19, you can now use CRA with TypeScript without a third-party's scripts package, but there may be different levels of support for some TS features.
You could consider moving across, and then we'd be able to offer more support.
Activity
mrmckeb commentedon Jan 15, 2019
Hi @Uma19, this is not currently supported by
create-react-app.There is a PR (#6116) to add support for this that we hope to merge very soon.
It looks like you're using
react-scripts-ts, which is supported here: https://github.com/jpavon/react-scripts-tsI hope that helps!
Uma19 commentedon Jan 15, 2019
Actually I am using react-scripts-ts of "wmonk"
and there I am not able to log any issue, that is the reason added the concern over here
So is the same concept which is getting integrated in create-react-app ?
https://facebook.github.io/create-react-app/docs/adding-typescript
mrmckeb commentedon Jan 16, 2019
Correct @Uma19, you can now use CRA with TypeScript without a third-party's scripts package, but there may be different levels of support for some TS features.
You could consider moving across, and then we'd be able to offer more support.