Publish Assets
When I installed Filament six days ago everything worked a charm, then I completed the rest of the project and not sure how but now /filament/assets/app.js isn't appearing anymore. I could make /public/filament/assets and copy it over from vendor that does work, but my OCD wouldn't allow that. I am using laravel mix, and registering the CSS theme from AppServiceProvider, per the documentation. Though I don't see anything regarding the js files. (core, +plugins). I would like to keep the JS separate from the rest of the app, so changing the core path in config isn't ideal. Any help on how I can figure this out is greatly appreciated!
2 Replies
Have you
npm run dev
or npm run build
?Yes but I don't see anything that references /filament/assets. I installed one plugin six days ago too, it's still installed.. but its 404'd too. /filament/assets/app.js?id=472e676026ea4979c31a0e3e5c9d4666 net::ERR_ABORTED 404 (Not Found)
/filament/assets/gpt-trix-editor.js net::ERR_ABORTED 404 (Not Found). idk if this is useful. https://flow.cannacast.club/js/app.js I see Filament stuff there, heh.. just not sure why the symlink isn't working. locate gpt-trix-editor.js
/var/www/proj/vendor/askerakbar/gpt-trix-editor/dist/gpt-trix-editor.js
/var/www/proj/vendor/askerakbar/gpt-trix-editor/resources/js/gpt-trix-editor.js