Create projects with javascript
Hello everyone, I wanted to know how I can create a project in JavaScript with this command:
npm create refine-app@latest my-project
. Apparently, there is no option to choose the language, and it's generating the project with all different options in TypeScript. I did check the JavaScript documents that lead to here: https://github.com/refinedev/refine/tree/master/examples/with-javascript. But with this, I cannot see various options for choosing styling frameworks and others. It directly generates a CRUD operation project. Can I use any flag with that command to generate a project in JavaScript? Thank you!4 Replies
blank-aquamarine•2y ago
Hey @sujata6165 unfortunately there is no option to create prompt based projects with javascript and create-refine-app templates are TypeScript only. Except for one example (the one you’ve shared above)
with-javascript
. You can create your project from scratch without TypeScript of course. We recommend TypeScript because we believe it gives much better development experience with refine 🚀🚀absent-sapphire•2y ago
Thank you for the quick response @aliemirs. I appreciate it 🙂
In that case, it might be possible to install other packages independently or not? Ex., mui package of refine, ii8n, live provider, etc?
blank-aquamarine•2y ago
Yes, you can install any refine or other dependencies any time, no hidden configuration 🙌
absent-sapphire•2y ago
Perfect, thank you 🙂