446 comments found.
Hi,
I message you before about vue integration.
Can you show me the steps?
Thanks
Hi sfmy,
We just replied to your previous email, kindly check it.. 
Best regards, Left4code Team
Hello. I can’t disable intro animations. I have commented out intro sass file in app.scss like this: // @import ”~@left4code/tw-starter/dist/scss/intro”; then rebuildt the project with npm run dev.
But the animations are still there on every load. I use the icewall version for laravel.
I have also tried to remove all intro-x and intro-y class references in blade, they still do the animation on every load.
Hi inviz,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
Some animations are directly attached to the SASS file due to complexity and other reasons. For example. Menus, Wrappers.
To find it easily, you can search through this directory ”/resources/sass/components” with keyword ”@keyframes ” and remove all of them from search results.
Let me know if that still doesn’t work.
Best regards, Left4code Team
Hello. Thank you and yes, I found them. for future reference if someone else is having the same issues, I also had to change the opactiy for the css class .wrapper-box to 1, after removing the main content animations.
I changed the following line: @apply flex bg-theme-1 dark:bg-dark-8 opacity-80; to @apply flex bg-theme-1 dark:bg-dark-8 opacity-100; after removing the @keyframe at the bottom in this file: /resources/sass/components/_wrapper.scss
Hi inviz,
Thanks for your reply,
Thank you also for the comments will be very helpful.. 
Best regards, Left4code Team
i got this warning in console: DevTools failed to load source map: Could not load content for http://localhost:3000/dist/zoom-vanilla.min.js.map: HTTP error: status code 500, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Hi sunnguon,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
You can ignore the warning as it will only appear in development mode. The warning should not appear after you run the “yarn run prod” command.
Best regards, Left4code team
$ yarn run prod
$ npm run production
> rubick@3.0.4 production
> mix --production
.catch(error => {
// reset to default button
cash('#btn-updateProfile').html('<i data-feather="save" class="w-4 h-4 mr-2" /> Save').svgLoader()
-----------------------------
// reset to default button
cash('#btn-updateProfile').html('<i data-loading-icon="save" data-color="white" class="w-4 h-4 mr-2" /> Save').svgLoader()
})
Hi sunnguon,
Unfortunately, since it’s just a template there’s no way to update the version by command.
So we need to replace the assets or dependencies manually to update the theme.
For the 2nd question, you need to use the feather js built-in function to initiate the SVG icon.
What you do above is a function for loading animation icons, not feather icons.
You can use the following code for feather icon:
cash('#btn-updateProfile').html('<i data-feather="save" class="w-4 h-4 mr-2" /> Save')
// Initiate feather icon plugin
feather.replace({
"stroke-width": 1.5,
});
Hope this helps.
Best regards, Left4code Team
there’s an error when using the function cash(”#delete-confirmation”) . modal(“hide”);
Hi zamcedi,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
Can you send the error message? Screenshots would be great.
Best regards, Left4code Team
I’m experiencing some issues using the modal, as far as I noted, all “post-rendered” elements such icons and tail-select who are inside a modal, or html code parts received from axios are not rendering correct, the information itself is correct (text), but the icons for example are not visible. To fix the tail-select issue (inside modals the tail-select elements don’t display the placeholder, they are not rendered, I fixed that using a default text), using this: cash(document).ready(function() { cash(”.label-inner”).each(function () { if (cash(this).html().length === 0){ cash(this).html(‘Selecione…’); } }); });
Is there any fix for the icons issue? Or is my implementation that is incorrect?
Hi brenoglima,
Sorry for the late reply,
It’s actually an expected behavior since the plugin is initialized on the first page load.
So the simplest way to solve this is to re-initialize the plugin after you make the ajax call.
Please check the following example: <script> @section(‘script’) <script> cash(function () { axios.get(`/example`).then(res => { // Re-init Feather Icons feather.replace({ “stroke-width”: 1.5, }); @endsection </script>
// Re-init Tail Select
cash(".tail-select").each(function () {
tail(this, {});
});
})
})
</script>
You may need to make used plugins globally accessible by attaching them to the window object.
For example the TailSelect plugin above. You can modify this file ”/resources/js/bootstrap.js” and add tail-select plugin like below. https://prnt.sc/13l08lsHope this helps.
Best regards, Left4code Team
I tried customizing the theme colors to have more of greenish appearance instead of blue but it’s proving difficult. Would be great if there was a way to easily change the primary color.
Hi xwiz,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
You can follow the steps below to change the color.
Select the elements. https://prnt.sc/11ou5hj
Look for the background-color property. https://prnt.sc/11oubwn
Hover over the property and click the little arrow behind the value. https://prnt.sc/11ouha7
Then we will be directed to the elements. https://prnt.sc/11ouleg
Since tailwind converts the colors from HEX to RGBA we have to change the “var(—tw-bg-opacity)” string to “1” like below. https://prnt.sc/11ouvsv
https://prnt.sc/11ouy8n Open the color picker and change the RGBA color to HEX by clicking on the little arrow next to the box.Then you can copy the HEX color, find and replace it in the “tailwind.config.js”.
Don’t forget to recompile the assets after making a change.
Best regards, Left4code Team
Hi; Do you think you will have a tall version or alpine.js instead of vue.js version in the future ?
Hi Angra-Mainyu974,
Thank you for reaching out to us.. 
Unfortunately, we still don’t have plan to work with alpine.js.
Best regards, Left4code Team
I have a problem with the modal. The show part works perfectly but the hide part doesn’t work. The written code works but the hide part does not hide the modal. Can you give me some indication?
best regards https://prnt.sc/138gv8r https://prnt.sc/138gx3pHi DmElectronics,
Honestly, I’ve never use Laravel Livewire before.
Can you make sure the on click event to hide the modal work as expected? You may test it with simple “alert” or “console.log”.
Best regards, Left4code Team
The feature works great. Tested with alert (); What doesn’t work is cash (’# confirmationModal’). Modal (‘hide’);
Show works Hide doesn’t work. Do you have any ideas on how to fix?
Hi DmElectronics,
Is there any errors in the console? Maybe we can find the issue from there.
Best regards, Left4code Team
I have no mistakes. cash (’# confirmationModal’). modal (‘hide’); does not work.
https://prnt.sc/13uxvhtHI DmElectronics,
Thank you for your reply,
Can you try placing the code below just before closing the modal? so it will look somtehing like this:
// Add this line
console.log(cash("#confirmationModal")[0])
cash("#confirmationModal").modal("hide");
Let me know the result in console.
Best regards, Left4code Team
Tabular data, you say: The example code use GET API to retrieve the data, that’s why all the Tabulator initialization are initialized in js code.
Where does the it get the data from in the example? cell.getData().name for instance? I guess what we need to know is how can we swap this out for an eloquent collection?
Hi futureweb2,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
You can check an example of the Tabulator data format at the following link: http://tabulator.info/docs/4.9/data#ajax-progressiveHope this helps.
Best regards, Left4code Team
I did not find how to install Midone using NPM, please guide, how to install Midone with NPM.
Hi rama_euiinn,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
You can simply run “npm install” to install the dependencies and run “npm run watch” to compile the assets.
Don’t forget to update your node & npm version before.
Best regards, Left4code Team
ok thanks you very much
You’re very welcome.. 
Best regards, Left4code Team
after doing npm run install then npm run watch I get an error like this
[Browsersync] Watching files… : Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(100% * $count, $perpage)
More info and automated migrator: https://sass-lang.com/d/slash-div 124 │ width: (100% * $count / $perpage); │ ^^^^^^^^^^^^ ╵ node_modules\tiny-slider\src\tiny-slider.scss 124:13 @import stdin 83:9 root stylesheet
╷
: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(100%, $count)
More info and automated migrator: https://sass-lang.com/d/slash-div 136 │ width: (100% / $count); │ ^^^^^^^ ╵ node_modules\tiny-slider\src\tiny-slider.scss 136:15 @import stdin 83:9 root stylesheet
╷
Hi rama_euiinn,
Thank you for your reply,
We’ve found the problem you’re experiencing.
As the warning appears, the tiny-slider plugin uses a script that will be deprecated in the next version of dart-sass.
For now, you can ignore the message as it is only a warning and does not affect the compilation process.
You can check if we are currently using the latest version of tiny-slider so we will wait for the next version until the issue is patched.
https://github.com/ganlanyuan/tiny-sliderOr if you’re bothered by the warning, you can temporarily replace the tiny-slider plugin with another slider plugin.
Best regards, Left4cod Team
Okay thank you very much
You’re very welcome.. 
Best regards, Left4code Team
Hi, I’m making a confirmation modal, it’s posssible do define some kind of “data-route” parameter on the who open the modal, so when user click confirm on modal it follows the link route passed?
Hi brenoglima,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
Yes, it’s possible, you can show the modal programmatically and set the data-route property to define your route. Please check the following code.
// Show confirmation modal
cash('#show-modal').on('click', function() {
cash('#confirmation-modal').modal('show')
// Set the data-route here, try to attach it somewhere on the modal element
cash('#confirmation-modal').find('.modal-body').attr('data-route', 'http://example.com')
})
// And when clicking on confirm button you can close the modal programmatically and get the data route defined before
cash('#confirm-modal').on('click', function() {
cash('#confirmation-modal').modal('hide')
// Get the data-route here
let dataRoute = cash('#confirmation-modal').find('.modal-body').data('route')
// Redirect the page here
})
Hope this helps.
Best regards, Left4code Team
Hi, are you using Inertia with this template?
Does it have some price that integration?
Hi cesarcruzc,
Sorry for the late reply,
Unfortunately, we don’t use inertia on this template and we are currently unable to provide template customization at this time.
Best regards, Left4code Team
Hello,
I am having issues running npm run dev on a fresh install of version 3.0.5
here is the output
warn – You have enabled the JIT engine which is currently in preview. warn – Preview features are not covered by semver, may introduce breaking changes, and can change at any time. [webpack-cli] Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. – configuration.optimization.splitChunks.cacheGroups[‘styles-public/dist/css/app’] has an unknown property ‘type’. These properties are valid: object { automaticNameDelimiter?, automaticNameMaxLength?, automaticNamePrefix?, chunks?, enforce?, enforceSizeThreshold?, filename?, maxAsyncRequests?, maxInitialRequests?, maxSize?, minChunks?, minSize?, name?, priority?, reuseExistingChunk?, test? } – configuration.output.chunkFilename should be a string. -> The filename of non-entry chunks as relative path inside the `output.path` directory. – configuration.stats has an unknown property ‘preset’. These properties are valid: object { all?, assets?, assetsSort?, builtAt?, cached?, cachedAssets?, children?, chunkGroups?, chunkModules?, chunkOrigins?, chunks?, chunksSort?, colors?, context?, depth?, entrypoints?, env?, errorDetails?, errors?, exclude?, excludeAssets?, excludeModules?, hash?, logging?, loggingDebug?, loggingTrace?, maxModules?, moduleAssets?, moduleTrace?, modules?, modulesSort?, nestedModules?, optimizationBailout?, outputPath?, performance?, providedExports?, publicPath?, reasons?, source?, timings?, usedExports?, version?, warnings?, warningsFilter? }
Hi paperasse,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
Can you try to update your Node & NPM version?
Then remove the “node_modules” directory and reinstall the dependencies.
Best regards, Left4code Team
Hello, could you explain me how to use your theme’s notifications and graphics? I am using Laravel 8 and theme in HTML Source version.
Best regards
Hi DmElectronics,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
We need a programmatic way to launch notifications.
You can check the example code from notification page to use the notification, please check the following screenshoot. https://prnt.sc/12ywwf5Or you can check this file ”/resources/js/notification.js” for more detailed example.
Hope this helps.
Best regards, Left4code Team
Sorry if I don’t understand … How can I start the notification without clicking on the button? For example @if (session () -> has (‘message’)) Start the notification @endif
Hi DmElectronics,
Sorry for the late reply,
There are several ways to do that, but I think this is the simplest one.
You can try to initiate the plugin inside a blade template but we need to make the Toastify plugin to be globally accessible first. Please follow these steps:
1. Modify this file ”/resources/js/bootstrap.js” like below. https://prnt.sc/135x4q7 2. Initiate the plugin from the blade template.
@if (session () -> has (‘message’))
@section('script')
<script>
cash(function () {
Toastify({
text: "HELLO WORLD!",
duration: 3000,
newWindow: true,
close: true,
gravity: "top",
position: "right",
stopOnFocus: true,
}).showToast();
})
</script>
@endsection
@endif
The ”@section(‘script’)” will make the code to be placed at the end of the file, you can check ”/resources/views/login.blade.php” for more other examples.
Best regards, Left4code Team
if I modify the file /resources/js/bootstrap.js and execute the yarn run dev command, the icons of all the menu items disappear. How can I solve?
Hi DmElectronics,
I’ve never experienced that. Can you send a screenshot of the compilation result?
I’m sorry. Everything works. My mistake.
You’re very welcome.. 
Best regards, Left4code Team
Hi
How do I update it?
3.0.3> 3.0.5
I need to update the lightpicker.
Hi iisoft,
Sorry for the late reply,
You can update the litepicker plugin by reinstall it. Just run “yarn add litepicker”.
Then replace this file ”/resources/sass/components/_litepicker.scss” from the latest download package.
Hope this helps.
Best regards, Left4code Team
I have updated the litepicker but I still had the same error.
After executing litepicker in modal, litepicker is fixed when scrolling.
https://prnt.sc/135uhl6Hi iisoft,
Looking at your problem, it doesn’t seem like it’s a litepicker problem. This is the expected behavior because when using modal, the scrolling content is not in the body element but in the ”.modal” class inside the modal component.
A simple way to get around this is to hide the litepicker plugin when scrolling modal content. You can change this file ”/resources/js/datepicker.js” by adding the code below.
document.querySelectorAll(".modal").forEach(function (e) {
e.addEventListener("scroll", function () {
litepicker.hide();
});
});
https://prnt.sc/13alpjm
Hope this helps.
Best regards, Left4code Team
good day friends. Just wanted to check if there are plans for additional pages for products, product details? There is a Point of Sale page but, something with a bit more details? Thank you
Hi jed1knyt,
Sorry for the late reply,
That’s a good idea, we will try to add this in the next release.. 
Best regards, Left4code Team
Great to hear! Thanks
You’re very welcome.. 
Best regards, Left4code Team
Hi a question. How can I disable the page reload animation? I am using laravel 8 and have installed thema in html. Thanks so much
HI DmElectronics,
Thank you for taking the time to contact us, I’ll be more than happy to help you.. 
From ”/src/sass/app.scss” to remove the animation.
Hope this helps.
Best regards, Left4code Team
When i execute > npm run dev receives the following error https://prnt.sc/12hze2z Please help me to sort this issue
Hi patrykpilek,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
We found that there were problems with the current compiler version and some dependencies, especially with NPM.
https://github.com/JeffreyWay/laravel-mix/issues/2633But it should work out well with Yarn.
However, we can still use NPM with the following steps.
- Add “webpack”: “^5.23.0” in package.json devDependencies
- rm -rf package-lock.json
- rm -rf node_modules
- npm install—force
Then run the compiler again with “npm run watch”.
Hope this helps.
Best regards, Left4code Team
Awesome dashboard! Are you planning to make a version on Laravel + Vuejs + Tailwind stack?
Hi kolesnikof,
Thank you for reaching out to us,
Unfortunately, we don’t have a plan to release Laravel + Vue version.
But if you need it you can use the vuejs version and we will help you to integrate it to a fresh laravel project.
It’s really simple (maybe less than 10 steps).
Hope this helps.
Best regards, Left4code Team
Ok, thanks
You’re very welcome.. 
Is there a step-by-step guide to install the theme on an existing Laravel install? I’m guessing only the views (the resources folder), webpack, npm and yarn scripts (from root folder) are the only important things to add into an existing project?
Hi CptChaos,
Thank you for taking the time to contact us, I’ll be more than happy to help you.
Yes, you can simply copy the assets from ”/resources” directory, please follow the steps below for more details.
1. Copy “package.json” file to your current project (or adjust the dependencies if you already have installed the package on your current project).
2. Copy these files:
- ”/resources/fonts”
- ”/resources/images”
- ”/resources/js”
- ”/resources/json”
- ”/resources/sass”
3. Next, copy the tailwind config, postcss config and laravel mix config.
- tailwind.config.js
- postcss.config.js
- webpack.mix.js
4. Run “yarn install”.
Hope this helps.
Best regards, Left4code Team
Sorry for late response, but thanks for the support and reply! 
You’re very welcome.. 
Best regards, Left4code Team
I’m having a little issue though. When I try to build the files using Laravel Mix, I get an error:
The `dark:border-dark-5` class does not exist. If you’re sure that `dark:border-dark-5` exists, make sure that any `@import` statements are being properly processed before Tailwind CSS sees your CSS, as `@apply` can only be used for classes in the same CSS tree.
This error comes when it tries to process the CSS for _accordion.scss, if that matters. 
But I do not know how to resolve it, any ideas what I could try? I have the files installed in a subfolder, as I want the assets/resources for the admin apart from the frontend. In my package.json file I’ve defined separate commands, which include de correct config files (like webpack and postcss configs and such).
As far as my knowledge goes, it seems like starter.scss isn’t loaded somewhere?
Hi CptChaos,
Have you copied tailwind.config.js? There seems to be a color config that hasn’t been copied.
Best regards, Left4code Team
I copied it, but will check it again manually and let you know! Thanks for the tip!
EDIT: To be sure I copied the complete file again, but it didn’t help. Nor did I see any variables being set. I see a declaration of dark:border-dark-5 in starter.scss, but I don’t see it being include anywhere? I am trying to install the Tinker v1.0.1 theme.
Hi CptChaos,
The dark-mode colors should be imported from this file ”@left4code/tw-starter/dist/js/colors”. Can you make sure of this?
Please check the following screenshot. https://prnt.sc/12x6vsm https://prnt.sc/12x6xtkBest regards, Left4code Team
Hi Left4Code,
Thanks for the reply and the fast response! My IDE (PhpStorm) recognizes the file, when I press ctrl+click, it opens the colors.js file, which is the exact same as in the screenshot. There’s also no typo in the tailwind.config.js file.
See also the following pastebins: tailwind.config.js: https://pastebin.com/Lf8hxBY5 @left4code/tw-starter/dist/js/colors: https://pastebin.com/anG1rWua
Both these pastebins will expire in 6 months (not that it will be a problem for the moment, just to assure everyone who might stumble upon this comment in the future).
All your help so far is very much appreciated!
Kind regards, CptChaos
To see if the file gets included properly, I added:
console.log(primaryColors.primary);
And ran the script again. I got the following output, so the primaryColors object is successfully loaded:
{ ‘1’: ’#1C3FAA’, ‘2’: ’#2e51bb’, ‘3’: ’#D32929’, ‘4’: ’#91C714’, ‘5’: ’#3160D8’, ‘6’: ’#F78B00’, ‘7’: ’#FBC500’, ‘8’: ’#3b5998’, ‘9’: ’#4ab3f4’, ‘10’: ’#517fa4’, ‘11’: ’#0077b5’ }
Even adjusted the console.log to
console.log(primaryColors.dark);
And I got this object as output:
{ ‘1’: ’#293145’, ‘2’: ’#232a3b’, ‘3’: ’#313a55’, ‘4’: ’#1e2533’, ‘5’: ’#3f4865’, ‘6’: ’#2b3348’, ‘7’: ’#181f29’ }
So the file is properly being loaded. So I guess there must be another reason why it doesn’t find the mentioned class dark:border-dark-5?
Perhaps the indexes in the object have to be integers and no strings, like they are now?
Hi CptChaos,
Thank you for your reply,
Can you send a step by step to reproduce the issue? or maybe you can send us a simpler version of your project so we can try it out here.
It seems like it’s a little bit complicated without actually looking at the code to figure out what the problem is.
Best regards, left4code Team
Hi CptChaos,
We have already download the file and found out the problems, it’s because the postcss config here: https://prnt.sc/12zaqw6At “resources/admin/webpack.mix.js” is not loaded. The configuration has been overridden with global postcss config from “postcss.config.js”.
So to fix the problem just remove the tailwindcss object from “postcss.config.js” like below. https://prnt.sc/12zavazHope this helps.
Best regards, Left4code Team
Hi Left4Code!
Thank you so much for all your help! It’s working now! Much appreciated!
Kind regards, CptChaos
You’re very welcome, glad to help.. 
Best regards, Left4code Team