http
{ http : {} | true }
Injects an object as $http into the component instance. If set to true
, it will create a http instance using vuenit.http()
.
{
http : true
}
...is the equivalent of...
{
inject : {
$http : () => vuenit.http()
}
}