Creating App with Javascript
I am using the with-javascript example to create the app but it creates the example project with preselected options that are in the example project.
It does not give any CLI options that you get in default mode like ui library, and auth options etc.
3 Replies
Hi @armulator. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
When you use the
--example
flag with create refine-app
, it creates a project based on the example you've specified. In this case, with-javascript
is a pre-configured example, and it doesn't provide the CLI wizard for custom configuration like UI library, auth options, etc.
If you want to customize your project with specific options, you can create a new project without the --example
flag. This will initiate the CLI wizard and allow you to select your preferred options.
Here's how you can do it:
After running this command, you'll be directed to the CLI wizard where you can select your preferred options for UI framework, extended theme, dark mode support, router provider, data provider, customized layout, and internationalization.
For more information, you can refer to the refine documentation (https://refine.dev/docs/examples/javascript) and blog posts (https://refine.dev/blog/build-admin-panel-with-material-ui-and-strapi) on creating and customizing refine applications.
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------<@886135034086559774> kapa.ai is still learning and improving, please let us know how it did by reacting below
foreign-sapphire•2y ago
example project bootstrap from github examples. options are pre-selected