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

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

Cart 2,366 sales
Well Documented

Left4code supports this item

Supported

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

590 comments found.

Hi,

tom-select is well componet, but i cant change value progmatic in ajax loaded options. Foк example, i loaded options from url, and self via code want change value throw click button.

when i change v-model variable does not give a result, the selected item in the list does not change. Can you help me my code? how change value, how reach out to the event .setValue(value) of TomSelect? via ref?

<TomSelect
    id="project" 
    v-model="formTS.project" 
    :options="{
      maxItems: 1,
      placeholder: 'начните писать, выберите из списка или добавьте новый',
      plugins: {
        remove_button: {'title': 'Очистить'},
        restore_on_backspace: {},
      },
      create: true,
      labelField: 'title',
      valueField: 'company_id',
      searchField: 'title',
      loadThrottle: 500,
      preload: true,
      render: {
        option: (item, escape) => {
          return ` ${escape(item.title)} `
        },
        item: (item, escape) => {
          return ` ${escape(item.title)} `
        },
        option_create: (data, escape) => {
          return ` добавить новую компанию: ${escape(data.input)} `;
        },
        no_results: () => {
          return ` нет результатов `
        },
      },
      load: async (query, callback) => {
        callback(await this.autocompleteCompany(query))
      },
      onChange: (value) => {
        this.log(value)
      }
    }" 
/>

Hi There,

Thanks for contacting us about the item you’ve purchased,

The issue you’ve raised requires personalised support and your support period for this item has expired. If you haven’t found what you’re looking for and still need help, then it would be best to renew your support.

Item Support is a policy that was recently implemented by Envato. It’s designed to ensure high quality, consistent customer service for you, while providing authors with a sustainable way to support our items and keep them up-to-date. If you would like to know more about Item Support, please view the policy here.

https://themeforest.net/page/item_support_policy

Hi,

I have a dropdown with some links and a click method (logout). When clicking the links the dropdown closes but when triggering the click event the dropdown remains open (logout).

Here is the code that I have:

<DropdownItem class="dropdown-item hover:bg-white/5">
  
    Logout
  
</DropdownItem>

and the method is:

logout() { this.$inertia.delete(’/logout’) },

The above is basically a delete request using inertia. Please can you advise how to close the dropdown when using a method.

Thanks

Hi there,

Thank you for reaching out to us,

Please check the following links.
https://i.imgur.com/HVZ0ZqQ.png
https://i.imgur.com/Dz1db1B.png

Please use chrome incognito or another browser if you can’t open the link, thanks.

Hi

I got error: @left4code\tw-starter\dist\css\_form-inline.css:15:5: @apply is not supported within nested at-rules like @include. You can fix this by un-nesting @include.

How to fix it?

Hi there,

Thank you for reaching out to us,

Could you please move to the item discussion according to your license?

In the side-menu, the sub-menu icons are not changing from the default ones but the main-menu are changing

Hi there,

Sorry for the late reply,

It seems like your support license has expired, please extend your support license to keep getting support from our team.

Best regards, Left4code Team

Hi.I want to create a new event in the fullcalendar component. But the fullCalendar component is not refreshed. Events are of reactive type

Hi there,

Thank you for reaching out,

Unfortunately, this is the component limitation. Please use this package if you want more reactive options.
https://fullcalendar.io/docs/vue

We will eventually move to using this package in the next update.

Hi, I’m using Midone Enigma v1.0.6 and I noticed that inside the tailwind.config.js file, under theme -> extend -> colors -> rgb. You have the following definitions duplicated: slate gray neutral stone sky

Regards, Andres

Hi,

Thank you for reaching out,

We missed it, thanks for your report. We will fix it in the next release.. :)

Hi, do we have any chance to support Typescript in the project in the future? I did convert the project into Typescript successfully without issues thanks to your clean code structure, great theme, great source code, if you’ve already had the plan to support Typescript then that’s okay, if not, we can make some contribution. Thanks

Hi there,

Sorry for the late reply,

We’ve discussed this with the team, but at this point we haven’t been able to migrate to TypeScript. We would like to thank you for your support for us.

The tom select is blank if not option is selected. Should have the placeholder text

Hi,

Thank you for reaching out,

We use the `dropdown_input` plugin by default so the placeholders don’t appear in the input form but appear in the search input in the dropdown list. Here is a quick solution to change it, open this file `/src/global-components/tom-select/Main.vue` and comment or delete this line.

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

How to enable/configure image upload? https://ibb.co/LkkBFyb

This template uses CKEditor right.

I read the ckeditor doc, I need to configure backend side and client side.

I have already configure the backend side, but how to configure in client side?

The doc said we can configure using this syntax:

ClassicEditor .create( document.querySelector( ’#editor’ ), { plugins: [ SimpleUploadAdapter, ... ], toolbar: [ ... ], simpleUpload: { // Feature configuration. } } ) .then( ... ) .catch( ... );

Where should I put that syntax?

Hi,

Thank you for reaching out,

You can pass `config` prop to the component, please check the following code.


<ClassicEditor v-model="editorData" :config="editorConfig" />




<script setup>
import { ref } from "vue";

const editorConfig = {
  toolbar: {
    items: ["bold", "italic", "link"],
  },
};
const editorData = ref("<p>Content of the editor.</p>");
</script>

Hi,

Thank you for your help <3

You’re welcome.. :)

Hi,

Is there an easy way to make the Delete Modal on http://enigma-vue.left4code.com/modal a reusable component? I can only get the modal to work within the main page.

Additionally I have implemented a table from here http://enigma-vue.left4code.com/dashboard-overview-2 at the bottom of the page, but how can I pass the id to the delete modal?

Thanks

Hi,

Thank you for reaching out,

Yes, you can reuse modal components on every page.

// Modal component

<!-- BEGIN: Modal Toggle -->
<div class="text-center">
    <a href="javascript:;" true="" class="btn btn-primary">Show Modal</a>
</div>
<!-- END: Modal Toggle -->
<!-- BEGIN: Modal Content -->
<Modal :show="basicModalPreview" @hidden="basicModalPreview = false">
    <ModalBody class="p-10 text-center">
        This is totally awesome blank modal!
    </ModalBody>
</Modal>
<!-- END: Modal Content -->

// Setup the `ref` data to show/hide modal

<script setup>
import { ref } from "vue";

const basicModalPreview = ref(false);
</script>

You can create a new `ref` record to store the `id`, add an `onClick` event to display the `id` on the modal component.


<script setup>
import { ref } from "vue";
const id = ref();
</script>

// Set the `id` onClick event https://i.imgur.com/xyyhd6o.png

Please use chrome incognito or another browser if you can’t open the link, thanks.

Would you kindly send me the sample code/project for the laravel-vite, vue3 integrations, that I’ve seen others asking in the comments? Great template and thank you for the constant updates too! Email: work.nyerslaszlo@gmail.com Thank you!

Hi,

Thank you for reaching out,

Sure, please check your email, we have sent the example configuration, thank you.. :)

hi dev, do you guys invest time on windicss to reduce the size of your project?

Hi,

Thank you for reaching out to us,

Unfortunately, we’re just using TailwindCSS for all our templates at the moment.

Do you have a typescript version of this template? At least the starter? If you have a typescript version of react, I will buy that too.

Hi,

Thank you for reaching out,

Unfortunately, we don’t have the typescript version.

OK, thank you. Now, I am using it with typescript, but getting many errors from this library @left4code/tw-starter. Do you have typescript version for this, or any idea how can I solve these errors?

Hi,

This is not actually included in the item support because we don’t provide the TypeScript version by default.

However, you may need to try excluding packages to pass type checking, please check this link.

https://www.typescriptlang.org/tsconfig#exclude

I am panicking because I just bought the Midone package for Laravel, and I’m thinking it might not be compatible with Tailwind/Blade. Did I make a mistake?

Hi,

Thank you for reaching out to us,

No, we built it from scratch with Tailwind. No other frameworks you can check the dependencies and everything.

Thanks. I should be more clear. I used the wrong term. I am using Jetstream with Livewire & Blade components and I already had made some progress, so there are some conflicts. Something isn’t playing nicely with Midone. The Tailwind auth stuff (for example) is a bit different with this package vs what I had already. I’ll keep plugging away

Hello! Can you send me an email with a Laravel+Vue3 integrate tutorial? Thanks in advance.

Sorry i forget to add my email: enzovalinoti@gmail.com

Hi,

We have sent a sample project, kindly check your email. Thank you.

hi,

(19:9) C:\laragon\www\sicok-varejo\resources\css\components\_login.css @apply is not supported within nested at-rules like @include. You can fix this by un-nesting @include. > 19 | @apply min-w-full; | ^ 20 | } 21 | }

at processResult (C:\laragon\www\sicok-varejo\node_modules\webpack\lib\NormalModule.js:758:19)
at C:\laragon\www\sicok-varejo\node_modules\webpack\lib\NormalModule.js:860:5
at C:\laragon\www\sicok-varejo\node_modules\loader-runner\lib\LoaderRunner.js:400:11
at C:\laragon\www\sicok-varejo\node_modules\loader-runner\lib\LoaderRunner.js:252:18
at context.callback (C:\laragon\www\sicok-varejo\node_modules\loader-runner\lib\LoaderRunner.js:124:13)
at Object.loader (C:\laragon\www\sicok-varejo\node_modules\postcss-loader\dist\index.js:140:7)

1 ERROR in child compilations (Use ‘stats.children: true’ resp. ‘—stats-children’ for more details) webpack compiled with 2 errors

Hi,

Thank you for reaching out to us,

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

In your template, if I scroll the right side(Main section) then why does the left side(Menu) also get scrolled. It should be fixed and at the menu, there should have a separate scroll if the content gets overflows. If you solve it will be helpful. I am waiting for this. And color change should be in a icon and if click on it then it should open.

Hi,

Thank you for reaching out to us,

This is a design limitation, you might want to check out our other item “Rocketman” if you want a scrollable side menu.
https://themeforest.net/item/rocketman-modern-admin-dashboard-components-starter-template/36563520

Rocketman is not that nice, I like to purchase this item.

How can I use the remote data fetch feature of the tom select component?

Hi,

Thank you for reaching out to us,

You can pass the `load` function from option prop.

https://i.imgur.com/qnN4SAS.png
https://i.imgur.com/B5YMpf0.png

Hi there,

I bought the template, started reviewing it, and something strange (for me) came to me. In many places, a package called “dom” is imported into the code, which is your development. I had never seen anything like it before in vue project, it felt like I was using jquery in vue, weird feeling. Can you explain to me why this “dom” is there? Why is it not solved with the possibilities provided by vue?

Anyway, I really like it, well organized and beautiful. Have a great day.

Thank you!

Hi there,

Thank you for reaching out to us,

Our team has decided a couple years ago, that using vanillaJs with Vue is not bad especially for some cases like adding class attribute which Vue can’t handle. Let’s have a look at the simple code of this file ”/src/components/dark-mode-switcher”.


darkMode.value
    ? dom("html").addClass("dark")
    : dom("html").removeClass("dark");

Actually we could have used `document.getElementsByClassName` or `document.querySelectorAll` to get a DOM reference, but over time we found the syntax is too long and inconvenient. We also use vanillaJs plugins like `Tabulator` or animating elements where we need a vanillaJs code to convert it to a Vue component.

On the other hand we also don’t want to use jQuery because of its large size and a lot of unused functions, that’s why we created our own `helper` to work with the DOM.

Well, that’s the story behind it, we only use vanilla Js in parts that Vue can’t handle directly. Still, you can use pure vanillaJs without our helper functions if you prefer.

Thank you for the answer

You’re welcome.. :)

Please don’t hesitate to contact us if you have any further question.

Thank you for using Midone!

Hi, can you please confirm what is difference between Source and Source (starter) folder?

Hi,

Thank you for reaching out to us,

It’s actually the same thing, we only removed all the pages/components and only left the basic components to make it easier to use the template.

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