Skip to content

Commit 3dee549

Browse files
Add dynamic import plugin, fix inertiajs package names, add vue-template-compiler
Keep jQuery as it's required by Bootstrap, which ships with Laravel
1 parent 8fab4b9 commit 3dee549

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/InertiaJsPreset.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ public static function install()
2020
protected static function updatePackageArray(array $packages)
2121
{
2222
return array_merge([
23-
'inertiajs/inertia' => 'latest',
24-
'inertiajs/inertia-vue' => 'latest',
25-
], Arr::except($packages, [
26-
'jquery',
27-
]));
23+
'@babel/plugin-syntax-dynamic-import' => '^7.2.0',
24+
'inertia' => 'github:inertiajs/inertia',
25+
'inertia-vue' => 'inertiajs/inertia-vue',
26+
'vue-template-compiler' => '^2.6.10',
27+
], $packages);
2828
}
2929

3030
protected static function updateBootstrapping()

0 commit comments

Comments
 (0)