The magic is that the files reside in the resources/js and resources/css folders. But then you use Laravel Mix in order to compile the assets, and they will magically appear in the public directory. :)
Sep 5, 2019
15
Level 1
public/js and css folder sudennly disappeared
I have developed a small system on my localhost, using WAMP. Everything went OK. Then I manually uploaded the file from my wamp/www/project to FTP - live server. When I try to run an application, the CSS and JS files are not available.
I have looked into the ftp and find, that there are no css and js folder in public/... why? Also the next mystery is, on my localhost those folders seems to work fine (probably laravel cache?), but when I look via file explorer, I can't find both folders...
What's the magic? I would like to find default js and css files distributed with laravel package. I looked also to Laravel's github repository, folder are gone... What should I do?
Please or to participate in this conversation.