How to display variable ['attributes'] & ['products'] separately in blade
$data = [];
$data ['attributes'] = Attribute::active()->whereNull('option_id')->get();
$data ['products'] = Product::orderBy('id', 'DESC')->get();
return view('dashboard.productOption.edit', compact('prOption','data'));