Bootstrapping an app using multiple examples
Hi everyone,
I am trying to get started on a new project from an example and I want to be able to modify its components.
Is it possible to use with multiple example flags? Let's say I want to use auth-auth0 and customization-sider.
Thanks.
8 Replies
Hi @tala_uhh. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hi,
Unfortunately, you cannot use multiple example flags with
npm create refine-app@latest -- --example
. You can only choose one example to start with. However, you can start with one example and then manually integrate the features from the other example into your project.
For instance, you can start with the auth-auth0
example:
After creating the project, you can refer to the customization-sider
example's source code and documentation to manually implement the customization features in your project.
Source: auth-auth0 (https://refine.dev/docs/examples/auth/auth0)
Source: customization-sider (https://refine.dev/docs/examples/customization/sider)
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------<@306113560034148352> kapa.ai is still learning and improving, please let us how it did by reacting below
rare-sapphire•2y ago
You can bootstrap only one example at same time :/
wise-whiteOP•2y ago
Thanks @alicanerdurmaz, I'm following a tutorial and I see that during installation there are options to customize the theme and layout, namely and , but using the latest version these options are not available. Is there a way to still use these options?
rare-sapphire•2y ago
are you following youtube tutorial ?
wise-whiteOP•2y ago
yes, on the JavaScript Mastery channel
rare-sapphire•2y ago
you can use this command for refine version 3
npm create refine-app@latest -- --branch v3
wise-whiteOP•2y ago
Thank you, appreciate the help