Skip to content

Instantly share code, notes, and snippets.

View Zis-an's full-sized avatar
🌴
On vacation

Zisan Zis-an

🌴
On vacation
  • Dhaka, Bangladesh
View GitHub Profile
@Zis-an
Zis-an / Vite manifest problem of Laravel
Last active April 6, 2025 06:58
Unable to locate file in Vite manifest
Unable to locate file in Vite manifest: resources/css/app.css
Solution
1. Check vite.config.js -> Check if these two 'resources/css/app.css', 'resources/js/app.js' are okay. (Check Path inside resource too)
2. Make sure the output directory for the build is currectly set to public/build.
3. If vite.config.js is okay, run -> npm run build
4. Check the auto generated manifest.json inside public/build. Make sure the paths to the assets are correctly listed.
5. Clear cache, route, view, config.
6. Check if the path are correct inside layout/app.blade.php or master.blade.php or whatever the master file is.
@Zis-an
Zis-an / style.css
Created February 20, 2025 05:08
Cool Button Hover Effect CSS
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
overflow: hidden;
background: orange;
position: relative;
border-radius: 5px;
color: white; /* Default text color */
@Zis-an
Zis-an / style.css
Created February 20, 2025 04:44
Sentence getting typed CSS Tricks
h2{
width: 20ch;
font-family: monospace;
text-wrap: nowrap;
overflow: hidden;
animation: typing 2s steps(20) infinite alternate-reverse;
}
@keyframes typing {
from {