Skip to content

Commit b6c2d6d

Browse files
committed
update install
1 parent a014556 commit b6c2d6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Console/InstallCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function handle()
2020
match ($this->getDependencies()) {
2121
'react' => $this->call('cloudinary:react'),
2222
'vue' => $this->call('cloudinary:vue'),
23-
'livewire' => $this->call('cloudinary:livewire'),
23+
'svelte' => $this->call('cloudinary:svelte'),
2424
default => $this->info('No JavaScript framework detected.'),
2525
};
2626
}
@@ -42,8 +42,8 @@ private function getDependencies(): ?string
4242
return 'vue';
4343
}
4444

45-
if (class_exists('Livewire\Livewire')) {
46-
return 'livewire';
45+
if (isset($dependencies['@vitejs/plugin-svelte'])) {
46+
return 'svelte';
4747
}
4848

4949
return null;

0 commit comments

Comments
 (0)