Do you include the CSS and JS inside the head tags ?
Mar 7, 2023
2
Level 1
Success building Vite in my Laravel 9 App but the CSS and JS wasn't called in my page
I have an app that is deployed in shared hosting. I already run npm run build and the result is success transforming. But when I came back to my website, the transformed CSS and JS wasn't called in my page and give me error like mime-type (text/html) not allowed. I dont give a link tag to connect with my CSS and JS file. just using @vite
Can anyone help me? I really appreciate it
Please or to participate in this conversation.