refinedev / refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.
https://refine.dev
MIT License
28.54k stars 2.23k forks source link

[DOC] Building modules #6380

Closed spacewalkingninja closed 1 month ago

spacewalkingninja commented 1 month ago

Documentation issue

          Hey @spacewalkingninja I'm not sure why you are trying to build refine inside node modules. If you want to remove the banner, you can search for `<GitHubBanner />` and remove it.

https://refine.dev/docs/guides-concepts/faq/#how-can-i-remove-github-banner

Originally posted by @BatuhanW in https://github.com/refinedev/refine/issues/6373#issuecomment-2383071727

Describe the thing to improve

Find an EASY way to edit the refine banner on top. And the menus ((Documentation || Tutorial || Templates || Community)) and pretty much anything thats baked in the core module.

Describe the solution (optional)

Currently I am editing the index.mjs after having it unminified on unminify2.com (first tool that worked decently i found on the web) . What I need is an easy way to edit this template. I don't want to be bothered to create thousands of custom files and things, I need fast, easy, reliable code editing like in the good old PHP days.

spacewalkingninja commented 1 month ago

Update:

I think that after unminifying some unminifying engies may break your code, I had to replace all occurrances of: " ? ? " with " ?? " THEN it still would complain about hydratation and server side code not being same as whatever, so I had to jump yet another hook, that was

cd /home/refinedev/.next
mv static static2

and restart the server manually then My edits worked! Note: I DO NOT WANT TO REMOVE THE BANNER! I just want to edit and repurpose it to my use case. It is tricky and I hope you give me a way to do without having to do all these unnecessary things to just save a simple html string, or css change edit. Please improve.

spacewalkingninja commented 1 month ago

Hello, any update?

aliemir commented 1 month ago

Hey @spacewalkingninja, I'm not sure what are you trying to achieve here, Refine has 35 packages, 200+ examples and a documentation in the repo. It is unclear that which template you're referencing or why are you editing the index.mjs.

Check out the Quick Start Guide and Development Guide to get started with Refine.

Feel free to re-open when you can define the issues you're facing and the goals you're trying to achieve more clearly.