I have a problem uploading a project using Laravel and Tailwind, when I am programming and on the local server everything looks good, but when I uploaded it it did not have any design, I open the console and this appears
enter image description here
I don’t know why you can’t access the files and already perform the command npm run build
in the .htaccess I have this
`
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /public/$1
#RewriteRule ^ index.php [L]
RewriteRule ^(/)?$ public/index.php [L]
`
I tried changing the .htaccess and the npm run build but it doesn’t work
GUTIÉRREZ SERRANO ALEJANDRO is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.