I need to add my custom js and css file i have adde into my laravel project but form where i can call it because when i run npm run dev at that time it will remove form the projcet
Place your custom JavaScript file in your own folder. A recommended location is /starterkit/resources/mix.
Once your custom JavaScript file is in place, include it in the scripts.js file. The scripts.js file is where you centralize all your JavaScript imports.
Open the scripts.js file and add an import statement for your custom JavaScript file.
Ensure that the import path matches the actual location of your custom JavaScript file.
After making these changes, run the npm run dev command again to recompile your assets. This will include your custom JavaScript file in the compiled output
Hi,
Could you please provide us with more details? Which product and version you are using?
Regards.
metronic_laravel_v8.2.1