Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kylym1631's avatar

Vite is inside double quotes

I am using laravel, when I inspect the code, it is showing "@vitejs('resources/css/app.css')". I already ran npm run build on hosting

0 likes
1 reply
LaryAI's avatar
Level 58

The code snippet @vitejs('resources/css/app.css') is using the Vite.js library to load the CSS file. The double quotes around the code snippet are just part of the HTML markup and do not affect the functionality of the code.

If you are experiencing issues with the CSS file not loading, make sure that you have properly installed and configured Vite.js in your Laravel project. You can also try clearing your browser cache and reloading the page.

If you need further assistance, please provide more details about the issue you are experiencing and any error messages you are seeing.

Example code:

// Example usage of Vite.js in Laravel Blade template
<link rel="stylesheet" href="@vitejs('resources/css/app.css')">

Please or to participate in this conversation.