Kaixo
1
Hi,
I bought and installed Ionic Studio.
I wanted to use React as Angular, but when I create a new project, it’s automatically created with Angular.
Who knows how to use React on Ionic Studio ? Have I to create a project manually first, and open it with Studio ?
Thanks !
Try this
ionic start myApp appname --type=ionic-react
Also check react CLI or extention(If any) installed.
Kaixo
3
OmDIonic,
Thanks for your answer. I tried :
ionic start TestReact blank --type=react
My project is created, but when I try to open it with Ionic Studio :
Ionic Studio v0.0.68 - 2019-07-05T13:35:36.611Z
TypeError
TypeError: Cannot read property ‘ionic-angular’ of undefined
- at file:///C:/Program%20Files/Ionic%20Studio/resources/app.asar/www/build/app/chunk-d24eb1c6.es5.js:1:222441*
- at file:///C:/Program%20Files/Ionic%20Studio/resources/app.asar/www/build/app/chunk-d24eb1c6.es5.js:1:222569*
- at step (C:\Program Files\Ionic Studio\resources\app.asar\node_modules\tslib\tslib.js:133:27)*
- at Object.next (C:\Program Files\Ionic Studio\resources\app.asar\node_modules\tslib\tslib.js:114:57)*
- at fulfilled (C:\Program Files\Ionic Studio\resources\app.asar\node_modules\tslib\tslib.js:104:62)*
I am sorry but I am not using Ionic Studio.
Check some settings or plugin in Ionic Studio related to Ionic React.
Kaixo
5
OmDIonic,
Thanks for your answer.
If anyone has an idea, I didn’t find yet…