Can I embed styles and javascript in blade component (template)?

Viewed 240

Just like a Vue component, you write your styles and js in the component it self. I'm wondering if there is a way to do this in Laravel blade.

So what I'm looking for is a library that can extract the styles and js from all the blade templates, apply the Pre-Processors and Post CSS things, output a bundled js and css file.

0 Answers
Related