Discussion on Midone - Tailwind CSS React Admin Dashboard Template + HTML Version

Discussion on Midone - Tailwind CSS React Admin Dashboard Template + HTML Version

Cart 910 sales
Well Documented

Left4code supports this item

Supported

This author's response time can be up to 2 business days.

133 comments found.

Hello,

So please, what kind of authentication or authentication library would you recommend i use? and if you have like an implementation material kindly share.

Thanks

And also, please can i get the plain jsx version that is not the typescript version. My typescript knowledge is not very strong.

Hello,

Thank you for reaching out. There are many authentication libraries available depending on your specific requirements. Some popular ones include Firebase Authentication, Auth0, Passport.js, and Okta.

For implementation materials, many of these libraries have their own documentation and getting started guides on their websites. Additionally, there are many tutorials and blog posts available online that can walk you through the implementation process step-by-step.

If you can provide more details about your project and authentication requirements, I can provide more specific recommendations and resources.

Thank you and let me know if you have any further questions!

I apologize for the delay in getting back to you. Sure, we can definitely send you the plain JSX version of the file. Please email us at `leftforcode@gmail.com` and we’ll send the file over to you.

Let us know if you have any other questions or concerns. We’re always happy to help!

Best,

This runs fine with npm run dev, but fails a bunch when trying to npm run build.

Hello again! It looks like the error message you’re receiving is related to the `Litepicker` interface. We have released an update for this in a previous update. Please re-download the latest version and replace this component `/src/base-components/Litepicker`. Let me know if you need any further assistance with this.

That did the trick. Thanks. Builds now.

Yay, we’re thrilled to hear that the issue has been resolved and your build is now working! It’s always a pleasure to assist you with anything you need. Don’t hesitate to reach out if you have any further questions or concerns. Thank you for using our product!

Purchased your midone react code and not able to find .jsx files. All I see using the .tsx files.

I need the version which is in react and javascript not typescript.

Also checked in your documentation, it shows .jsx files. Please send the correct version.

Hi,

Thank you for reaching out to us and I apologize for the late response. I understand that you purchased Midone React code and are having trouble finding .jsx files as you only see .tsx files.

Midone React codebase has been updated to use TypeScript, so the current version only includes .tsx files instead of .jsx files. However, we do have an older version of Midone React code that uses .jsx files. If you could please share your email address with us, we can send you the older version of Midone React code that you need.

Please let us know if you have any further questions.

Thank you!

I see in this template u use col-span class, which it’s a bootstrap class not a tailwind class. is it actually a bootstrap that you use in your code or it just a name of class that similiar with bootstrap class that u use to make a grid system?

Hello! Thank you for reaching out. I’m sorry for any confusion. To clarify, the col-span class is actually a Tailwind class for working with CSS grid. It is not a Bootstrap class.

If you have any further questions or need any additional assistance, please don’t hesitate to let us know. We’re here to help!

Hi, I wanna add a new color scheme, how do do it? what file should I change?

Hi afansetyadi,

I apologize for the late response.

To add a new color scheme to your project, you’ll need to open up the Tailwind configuration file, which can typically be found at tailwind.config.js. Once you have this file open, you can scroll down to the plugins property, where you will find the configuration for several themes that are already available. From here, you can modify these configurations or add a new theme to create a unique color scheme for your project.

As for the col-span class, this is actually a Tailwind class that is used for working with CSS grid. It may look similar to a Bootstrap class, but it is specific to Tailwind. To learn more about how this class works, I recommend checking out the official Tailwind documentation, which has a great section on working with CSS grid.

https://tailwindcss.com/docs/grid-column#spanning-columns

I hope this information is helpful, but please let me know if you have any further questions or need additional assistance!

thank you

Hi afansetyadi,

You’re welcome! I’m glad I could help. If you have any further questions or need additional assistance, don’t hesitate to reach out to me. Have a great day!

Best regards, Left4code Team

Hi Midone, I bought midon react, in your documentation you said at folder src/lib/* there are all components used by template, but the folder is not there, the folder doesnt exist

Hi there,

I apologize for the delay in getting back to you. I’m sorry to hear that you’re having trouble finding the components in the src/lib/* folder of the Midone React template.

I believe there may have been some changes made to the latest version of the template which could have caused this issue. Can you please confirm which version of the template you’re using?

In the meantime, you can try checking other folders or searching the project for the component files. Alternatively, you can reach out to our support team for further assistance.

Once again, I’m sorry for any inconvenience this may have caused. Let me know if you have any other questions or concerns.

Hello,

Is there a version with REACT that is NOT using tailwind for CSS?

Hi,

Thank you for reaching out,

Unfortunately, this template has only TailwindCSS version.

Dialog scroll is not working any other solutions

Hi there,

Thank you for reporting the issue,

We will fix this issue in the next update release. Meanwhile, you can update the base components in this file `/src/base-components/Headless/dialog/index.tsx` to fix them. Please check the link below for the updated code.
https://i.imgur.com/6mg2XTK.png
Please don’t hesitate to contact us if you have any other questions.

Please use incognito if you are using chrome or use another browser if you can’t open the above link.

Great Work!

Thanks.. :D

Goodnight. Sorry, I’m using the accordion component and they asked me not to automatically display the item when the page loads. That is, each time the page is loaded, the first item of the accordion is automatically displayed, therefore it is required that it not have this compartment, that it be shown closed, unless a click is pressed voluntarily.

Hi there,

Sorry for the late reply,

You can set `selectedIndex` to `null` to remove the active default accordion, please check the following link.

https://i.imgur.com/SXZgnJD.png

Please use incognito if you are using chrome or use another browser if you can’t open the above link.

Excellent, it worked very well for me

Glad it works.. :)

Let me know if you have any further question.

Cannot use your src code of js files I just upload your files into server and nothing works

Uncaught SyntaxError: Cannot use import statement outside a module (at app.js?ver=1:9:1)

Is anyone here to know how to compile a simple app.js in order to make dependecies to work outsite of this file?

Want to import the app.js in an html file and use all available plugins (Tabulator, Calendar, Maps …. )

for example <script src=”app.js”></script> <script> var table = new Tabulator(...) var calendar = new Calendar(...) //ect… </script>

With this way, you will be able to fix a bug imediately on live servers without needed to compile it in your computer.

Hi there,

Thank you for reaching out to us,

The HTML version is designed for use with Mix (a Webpack wrapper with a simpler syntax). To use a plugin outside of `app.js` you must first expose the plugin’s dependencies by attaching them to the `window` object. Please check this example.

1. Open this file `/src/js/bootstrap.js`.
https://i.imgur.com/iOkxgiQ.png


// Load plugins
import helper from "./helper";
import * as Popper from "@popperjs/core";
import dom from "@left4code/tw-starter/dist/js/dom";

// Import related dependencies
import xlsx from "xlsx";
import { createIcons, icons } from "lucide";
import Tabulator from "tabulator-tables";

// Set plugins globally
window.helper = helper;
window.Popper = Popper;
window.$ = dom;

// Expose the package
window.xlsx = xlsx;
window.createIcons = createIcons;
window.icons = icons;
window.Tabulator = Tabulator;

2. You can use the plugin outside the `app.js`, make sure to recompile the assets with `yarn run watch` and place your code after `app.js` script tag.
https://i.imgur.com/Fpzf3Le.png

Let me know if you still need any other question.

Please use incognito if you are using chrome or use another browser if you can’t open the above link.

i would like to ask for help about sample code route protection with jwt token.

Hi,

Sorry for the late reply,

Unfortunately, it is not included in item support.

Pre-Sales Question: is this comes with Redux (Test Authentication) implemented ?

Hi,

Thank you for reaching out to us,

Unfortunately, it’s not included in the package.

Hi, whenever I am trying to use “recoil” for state management I am getting an error: Uncaught Error: A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition..

I have setup recoil as described in their documentation. The strangest thing is that it happens the first time rendered. If I assign a static empty array for my list, and then change to use recoil, it will autoload correctly. But once I navigate through sidebar back to the page blank screen is shown again.

Hope I described my problem well.

Thanks!

Hi,

Sorry for the late reply,

Can you send a step-by-step to reproduce the issue?

Is the sales performance module from Rocket Man (the year overview with highlights) also available for this template?

Hi,

Sorry for the late reply,

Unfortunately, it’s only available on Rocketman.

how can I use jquery with this?

Hi,

Thank you for reaching out to us,

You can install the plugin with `yarn add jquery` or `npm install jquery`, and simply import the plugin inside the component.

Please check this link.
https://github.com/thecodeite/react-jquery/blob/master/src/App.js

Thank you for your excellent template.

Glad to help.. :)

Install the “react-datepicker” library to use it in your template, but when displaying the date box, the input overlaps the object and it fails to display. The inptus are inside a div with the class , and if I remove that div, everything works fine but unfortunately I can’t change the layout of the form. Attached I send the image of how the input is shown superimposed on the library

https://github.com/CaminanteEjc/Inputs_overlay_library_objects/blob/main/err.png?raw=true

Also the buttons overlay the library objects. Whichever one you install

Hi,

Sorry for the late reply,

This might be a `z-index` issue with the plugin, increasing `z-index` might work.


.react-datepicker-popper {
    z-index: 99999;
}

To whom it may concern,

Thanks. I have downloaded your Midone theme but, it does not quite meet expectation once I have received the files. It won’t be suitable for our purposes and I am messaging to enquire on a refund and deletion of your theme from my account and locally.

Same issues as below regarding starter pack install and render issues. Calls out to Left4Code NPM modules, etc. rather as all local code.

Happy to discuss further.

Hi,

Thank you for contacting us,

Please check this link to check Envato’s refund rules.
https://themeforest.net/page/customer_refund_policy

And click this link to apply for a refund with brief details according to the above refund policy.
https://themeforest.net/refund_requests/new

You can contact us here if you need support on the item by attaching details of the problem you are experiencing.

Thank you.

Thank you for the reply. I have messaged and also please see the following for discussion on React Enigma Source (starter) from installing and running https://freeimage.host/i/screenshot-2022-11-05-14-27-34.m6GEuI

Goodnight.

I have a serious bug in the template. I need you to please clarify the error. I don’t know if it’s the developer’s intention or if I’m not doing it correctly.

In the body the following class “overflow-y-hidden” is added, and I managed to prevent it from happening by modifying two files, which are located in:

1- \node_modules\.vite\deps\@left4code_tw-starter_dist_js_modal.js

2- \node_modules\@left4code\tw-starter\dist\js\modal.js

The modification made to each file is as follows:

For file 1 located at: \node_modules\.vite\deps\@left4code_tw-starter_dist_js_modal.js

Modify the following function:

// function original function show(the) { if (!dom(“[data-modal-replacer=’” + dom(el).attr(“id”) + ”’]”).length) { dom(‘ ‘).insertAfter(el); dom(el).css({ “margin-top”: 0, “margin-left”: 0 }); dom(el).attr(“aria-hidden”, false).appendTo(“body”); setTimeout(() => { dom(el).addClass(“show”).css(“z-index”, getHighestZindex() + 1); const event2 = new Event(“shown.tw.modal”); dom(el)[0].dispatchEvent(event2); }, 200); dom(“body”).css(“padding-right”, parseInt(dom(“body”).css(“padding-right”)) + getScrollbarWidth(“html”) + “px”).addClass(“overflow -y-hidden”); dom(”.modal”).removeClass(“overflow-y-auto”).css(“padding-left”, “0px”); dom(el).addClass(“overflow-y-auto”).css(“padding-left”, getScrollbarWidth(el) + “px”).addClass(dom(”.modal.show”).length ? “modal -overlap” : ””); const event = new Event(“show.tw.modal”); dom(el)[0].dispatchEvent(event); } }

The modified line was: dom(“body”).css(“padding-right”, parseInt(dom(“body”).css(“padding-right”)) + getScrollbarWidth(“html”) + “px”).addClass(“overflow -y-hidden”);

The modification made was to remove ”.addClass(“overflow-y-hidden”);”

leaving the code as follows: dom(“body”).css(“padding-right”, parseInt(dom(“body”).css(“padding-right”)) + getScrollbarWidth(“html”) + “px”)

For file 2 located at: \node_modules\@left4code\tw-starter\dist\js\modal.js

The following function has been modified: // function show(the) { if (!dom(“[data-modal-replacer=’” + dom(el).attr(“id”) + ”’]”).length) { // Move modal element to body sun( ‘ ‘ ).insertAfter(the); dom(el).css({ “margin-top”: 0, “margin-left”: 0, }); dom(el).attr(“aria-hidden”, false).appendTo(“body”);

// Show modal by highest z-index
    setTimeout(() => {
      sun(the)
        .addClass("show")
        .css("z-index", getHighestZindex() + 1);
}
// Trigger "shown.tw.modal" callback function
    const event = new Event("shown.tw.modal");
    dom(el)[0].dispatchEvent(event);
  }, 200);
}
// Setting up modal scroll
sun("body")
  .css(
    "padding-right",
    parseInt(dom("body").css("padding-right")) +
      getScrollbarWidth("html") +
      "px" 
  )
  .addClass("overflow-and-hidden");
dom(".modal").removeClass("overflow-y-auto").css("padding-left", "0px");
sun(the)
  .addClass("overflow-y-auto")
  .css("padding-left", getScrollbarWidth(el) + "px")
  .addClass(dom(".modal.show").length ? "modal-overlap" : "");
// Trigger "show.tw.modal" callback function
const event = new Event("show.tw.modal");
dom(el)[0].dispatchEvent(event);

The modified line was: sun(“body”) .css( “padding-right”, parseInt(dom(“body”).css(“padding-right”)) + getScrollbarWidth(“html”) + “px” ) .addClass(“overflow-and-hidden”);

The modification made was to remove ”.addClass(“overflow-y-hidden”);”

leaving the code as follows: sun(“body”) .css( “padding-right”, parseInt(dom(“body”).css(“padding-right”)) + getScrollbarWidth(“html”) + “px” )

Now what happens:

After executing the system in the development environment over and over again and after several days, it restores the lines of code as they were originally, forcing me to go through the same modification process again. That is, it returns me to add ”.addClass(“overflow-y-hidden”);”.

My questions would be: I need to modify some file of the template so that it leaves me the code as I modified it, or it is a bug that restores the code again, or it is the developer’s intention that nothing can be modified and I am forced to wait for updates or improvements . Please I wait for your prompt response, because with the help of your template, my system is ready for production but I can’t upload it without first fixing those bugs.

Note: My intention is only to know in which other file I must modify said code so that the template is not restored again. Please don’t ask me why I need to remove that code, or to explain me better about the body and the “overflow-and-hidden” it adds. Already in previous questions I tried to explain myself and I was never understood, so I fixed it on my own and now I just want you to tell me how to prevent the template from restoring the code

Please use incognito if you are using chrome or use another browser if you can’t open the above link.

Excellent. Thank you very much for her prompt reply

Glad to help.. :)

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey