This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here with it I had problems | |
In your code: | |
const app = new Vue({ | |
el: '#app', | |
component: { App }, | |
router | |
}); | |
My code: | |
const app = new Vue({ | |
el: '#app', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace App; | |
use Illuminate\Database\Eloquent\Model; | |
class Employee extends Model | |
{ | |
// Mass assigned | |
protected $fillable = [ | |
'last_name', | |
'first_name', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Dadata; | |
class DadataClient { | |
private $url, | |
$token; | |
public function __construct($url, $token, $secret) { | |
$this->url = $url; |