munafio / chatify

Laravel's #1 one-to-one chatting system package, helps you add a complete real-time chatting system to your new/existing Laravel application with only one command.
https://chatify.munafio.com
MIT License
2.24k stars 479 forks source link

Asset Files not working after php artisan vendor:publish --tag=chatify-config #2

Closed JeffGepiga closed 4 years ago

JeffGepiga commented 4 years ago

Operating System: Windows 7 64bit PHP Version : 7.3 Laravel Version: 6.10

munafio commented 4 years ago

can you explain how it is not working ??

JeffGepiga commented 4 years ago

After I followed the instruction and did the command php artisan vendor:publish, the asset file is not published in my css and js directory, so I was able to fixed it by manually moving the css and js file from vendor.

munafio commented 4 years ago

No, copying files from vendor will not overwrite the files and make changes .. vendor:publish needs an asset tag as mentioned in the docs .. So, if you want to publish(config) do :

 $ php artisan vendor:publish --tag=chatify-config 

or, if you want the public (assets) do:

$ php artisan vendor:publish --tag=chatify-assets

that means, changing what after the chatify- with the asset needed.

and like so with the others mentioned in the docs .. take a look at it.