Switch to using @inertia directive

This commit is contained in:
Jonathan Reinink 2019-04-09 18:55:36 -04:00
parent ce9913e28b
commit b31d950185
2 changed files with 25 additions and 16 deletions

39
composer.lock generated
View File

@ -427,18 +427,25 @@
"source": {
"type": "git",
"url": "https://github.com/inertiajs/inertia-laravel.git",
"reference": "f3bb95527059f6de4483fb9e1063617df2bcda67"
"reference": "470079a37c36da6beeff776216bb658472ef26a1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/f3bb95527059f6de4483fb9e1063617df2bcda67",
"reference": "f3bb95527059f6de4483fb9e1063617df2bcda67",
"url": "https://api.github.com/repos/inertiajs/inertia-laravel/zipball/470079a37c36da6beeff776216bb658472ef26a1",
"reference": "470079a37c36da6beeff776216bb658472ef26a1",
"shasum": ""
},
"require-dev": {
"orchestra/testbench": "~3.0"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Inertia\\InertiaServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Inertia\\": "src"
@ -460,7 +467,7 @@
"inertia",
"laravel"
],
"time": "2019-04-05T11:13:42+00:00"
"time": "2019-04-09T22:49:42+00:00"
},
{
"name": "jakub-onderka/php-console-color",
@ -924,16 +931,16 @@
},
{
"name": "nesbot/carbon",
"version": "2.16.2",
"version": "2.16.3",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
"reference": "720a9c36927396efeeb48a972e9d129d44b6dc28"
"reference": "373d9f0d58651af366435148c39beb702c2b7ef4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/720a9c36927396efeeb48a972e9d129d44b6dc28",
"reference": "720a9c36927396efeeb48a972e9d129d44b6dc28",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/373d9f0d58651af366435148c39beb702c2b7ef4",
"reference": "373d9f0d58651af366435148c39beb702c2b7ef4",
"shasum": ""
},
"require": {
@ -980,7 +987,7 @@
"datetime",
"time"
],
"time": "2019-03-29T12:23:12+00:00"
"time": "2019-04-06T17:09:23+00:00"
},
{
"name": "nikic/php-parser",
@ -3412,20 +3419,20 @@
},
{
"name": "myclabs/deep-copy",
"version": "1.8.1",
"version": "1.9.0",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
"reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8"
"reference": "78af75148f9fdd34ea727c8b529a9b4a8f7b740c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
"reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/78af75148f9fdd34ea727c8b529a9b4a8f7b740c",
"reference": "78af75148f9fdd34ea727c8b529a9b4a8f7b740c",
"shasum": ""
},
"require": {
"php": "^7.1"
"php": "^7.2"
},
"replace": {
"myclabs/deep-copy": "self.version"
@ -3433,6 +3440,8 @@
"require-dev": {
"doctrine/collections": "^1.0",
"doctrine/common": "^2.6",
"phpstan/phpstan": "^0.9.2",
"phpstan/phpstan-phpunit": "^0.9.4",
"phpunit/phpunit": "^7.1"
},
"type": "library",
@ -3456,7 +3465,7 @@
"object",
"object graph"
],
"time": "2018-06-11T23:09:50+00:00"
"time": "2018-10-30T00:14:44+00:00"
},
{
"name": "nunomaduro/collision",

View File

@ -9,7 +9,7 @@
</head>
<body class="font-sans leading-none text-grey-darkest antialiased">
<div id="app" data-component="{{ $component }}" data-props="{{ json_encode((object) $props) }}"></div>
@inertia
</body>
</html>