area17 / blast

Storybook for Laravel Blade 🚀

Home Page:https://dev.to/area17/getting-started-with-blast-storybook-for-laravel-blade-c5c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

❤️ add ability to set manifest path

chrillep opened this issue · comments

First of love the work!

$mix_manifest_path = public_path('mix-manifest.json');
$vite_manifest_path = public_path('build/manifest.json');

we are using wp acorn which is WordPress with Laravel
it generates the manifest file to public/dist instead.

So we would like to be able to config the path of the manifest files

refs:

I've added it to the list. I'm interested to hear about your experience of using blast with WP Acorn too.

This will be included in the next release

Yay! As far as acorn/radicle goes it works pretty much out of the box!!!

There is one small annoyance. It's related to how artisan commands are executed. They are initiated via wp cli. So the commands are wp acorn <artisan command>. So the listener yarn scripts does not work. Not sure if you can get around it tho without breaking something else . 😀

@chrillep Oh nice! How did you set up the custom routes? I gave it a very quick test but I'm out of the loop on WP right now and I couldn't get the storybook_preview route up and running.

If you can send over a demo repo I'd love to take a look at how you've set it all up and see what we can do to get everything working properly

@chrillep Oh nice! How did you set up the custom routes? I gave it a very quick test but I'm out of the loop on WP right now and I couldn't get the storybook_preview route up and running.

If you can send over a demo repo I'd love to take a look at how you've set it all up and see what we can do to get everything working properly

i believe its a experimental env setting
https://github.com/search?q=org%3Aroots%20ACORN_ENABLE_EXPERIMENTAL_ROUTER&type=code

https://github.com/roots/acorn/blob/c94b27f83002ac12ef42790d1a4cfb270d512c61/src/Roots/Acorn/Application.php#L459-L463

https://github.com/roots/acorn/blob/c94b27f83002ac12ef42790d1a4cfb270d512c61/src/Roots/Acorn/Bootloader.php#L113-L121

im on vacation so not able to test all the new features. Maybe next week when we are back :)

work gr8 btw