is it possible to load blade components from db, or to create components and save as blade then load these components following preferences saved in db, for example i allow user to choose a card design for the to see wen they login, then the system has to pick that card and populate it dynamically, so these components should be sort of looped and populated to construct a full page to the end, am stuck here please help out
thanks for your responses i think let me use the @component , no am thinking if i have an array like so $data = ['componentName'=>'compname','numberOfPosts'=>10,'title'=>'featuredItems','category'=>'fruits'].. now i have to pass $data to the component then fetch where category is fruits limit to 10 then put the component title as featuredItems....
would you mind showing me a snipset on the component side after receiving $data