0

I follow https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started

npx create-react-app MyAppName --typescript

npm install --save igniteui-react
npm install --save igniteui-react-charts igniteui-react-core
npm install --save igniteui-react-excel igniteui-react-core
npm install --save igniteui-react-gauges igniteui-react-core
npm install --save igniteui-react-grids igniteui-react-core
npm install --save igniteui-react-maps igniteui-react-core
npm install --save igniteui-react-spreadsheet igniteui-react-core

but result

enter image description here

Why I use parameter typescript, but still generate javascript project?

3
  • 2
    npx create-react-app my-app --template typescript your are missing the template flag. Commented Mar 30, 2024 at 14:14
  • Thanh you! The reference document is wrong. Commented Mar 30, 2024 at 14:15
  • 3
    create react app is no longer maintained use vite instead... Commented Mar 30, 2024 at 19:05

2 Answers 2

1

As @SakoBu commented, Create React App doesn't seem to be actively maintained. So you can also try Ignite UI CLI that does have an updated TypeScript project template that's based on vite :)

Either in step by step by calling ig/npx igniteui-cli and picking React > Ignite UI for React TS
Or directly calling the new command ig new newIgniteUIReact --framework=react --type=igr-ts.

Sign up to request clarification or add additional context in comments.

Comments

0

This is the right way to make react app with create-react-app's TypeScript template

npx create-react-app MyAppName --template typescript

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.