laravel-frontend-presets / tall

A TALL (Tailwind CSS, Alpine.js, Laravel and Livewire) Preset for Laravel
MIT License
2.42k stars 203 forks source link

Broken!! after Laravel 9.19 update due to Vite I guess. #114

Closed raugadh closed 2 years ago

raugadh commented 2 years ago

requires VITE integration to work again .

danharrin commented 2 years ago

Unfortunately, fixing this is not a priority for me right now as I am not actively using the preset, but I would accept a PR to fix this. Thanks!

raugadh commented 2 years ago

Can You add the labels , I don't know how to do it, still learning

kikiraihan commented 2 years ago

i removed vite and its dependencies in package.json, and re-installed laravel mix, all working fine so far

kikiraihan commented 2 years ago

i removed vite and its dependencies in package.json, and re-installed laravel mix, all working fine so far

this is my package.json

{ "private": true, "scripts": { "dev": "npm run development", "development": "mix", "watch": "mix watch", "watch-poll": "mix watch -- --watch-options-poll=1000", "hot": "mix watch --hot", "prod": "npm run production", "production": "mix --production" }, "devDependencies": { "@tailwindcss/forms": "^0.4", "@tailwindcss/typography": "^0.5", "alpinejs": "^3.8", "laravel-mix": "^6.0.6", "laravel-mix-tailwind": "^0.1", "postcss": "^8.1.14", "resolve-url-loader": "^3.1", "sass": "^1.32", "sass-loader": "^8.0", "tailwindcss": "^3.0" } }

Supernova3339 commented 2 years ago

My way was to just configure the path the preset puts css and js to within vite config file, then execute 'npm run build' This will run npm vite build which will compile your assets for your application.

kustomrtr commented 2 years ago

@danharrin Hey, I just made PR to fix this issue. #115

danharrin commented 2 years ago

This is now added in #115 and v5 has been released, thanks @kustomrtr