area17 / blast

Storybook for Laravel Blade 🚀
https://dev.to/area17/getting-started-with-blast-storybook-for-laravel-blade-c5c
Apache License 2.0
268 stars 39 forks source link

Add js_type config option (#59) #60

Closed Thomva closed 6 months ago

Thomva commented 1 year ago

I have added a js_type to the config.

mrtimbrook commented 1 year ago

Thanks for doing this. Is there a way we can work the type into the assets array so we're not setting the same type for all assets? It would need to support both array and string.

Thomva commented 8 months ago

Hi, sorry for taking so long to respond. I have updated the code. It now checks if the js asset has a type, and if so, it uses it in the script tag. I have also updated the README. Can this PR be reopened, or do I create a new one?