qirolab / laravel-themer

Multi theme support for Laravel application
https://qirolab.com
MIT License
364 stars 50 forks source link

Add theme reverb-chat project #54

Open El-Diegore opened 1 month ago

El-Diegore commented 1 month ago

Discussed in https://github.com/qirolab/laravel-themer/discussions/53

Originally posted by **El-Diegore** September 9, 2024 Hi, I was trying to add the theme to the reverb-chat project in laravel 11, but I have a problem, it doesn't recognize "npm run dev:tailwind". I did all the previous steps, the problem I had is when it indicates adding dependencies to the script in package.json, in the console it showed me to add the route but with "\" (themes\tailwind...), compared to the tutorial. I replaced them with "/" but it still doesn't recognize the command.
faysal0x1 commented 2 weeks ago

I Got this error After i run npm run dev:tailwind

dev:tailwind

vite --config themes ailwind/vite.config.js

✘ [ERROR] Could not resolve "I:\laragon\www\laravel-vue-reverb-chat\themes"

failed to load config from I:\laragon\www\laravel-vue-reverb-chat\themes error when starting dev server: Error: Build failed with 1 error: error: Could not resolve "I:\laragon\www\laravel-vue-reverb-chat\themes" at failureErrorWithLog (I:\laragon\www\laravel-vue-reverb-chat\node_modules\esbuild\lib\main.js:1472:15) at I:\laragon\www\laravel-vue-reverb-chat\node_modules\esbuild\lib\main.js:945:25 at runOnEndCallbacks (I:\laragon\www\laravel-vue-reverb-chat\node_modules\esbuild\lib\main.js:1315:45) at buildResponseToResult (I:\laragon\www\laravel-vue-reverb-chat\node_modules\esbuild\lib\main.js:943:7) at I:\laragon\www\laravel-vue-reverb-chat\node_modules\esbuild\lib\main.js:970:16 at responseCallbacks. (I:\laragon\www\laravel-vue-reverb-chat\node_modules\esbuild\lib\main.js:622:9) at handleIncomingPacket (I:\laragon\www\laravel-vue-reverb-chat\node_modules\esbuild\lib\main.js:677:12) at Socket.readFromStdout (I:\laragon\www\laravel-vue-reverb-chat\node_modules\esbuild\lib\main.js:600:7) at Socket.emit (node:events:518:28) at addChunk (node:internal/streams/readable:559:12)