We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a014556 commit b6c2d6dCopy full SHA for b6c2d6d
src/Console/InstallCommand.php
@@ -20,7 +20,7 @@ public function handle()
20
match ($this->getDependencies()) {
21
'react' => $this->call('cloudinary:react'),
22
'vue' => $this->call('cloudinary:vue'),
23
- 'livewire' => $this->call('cloudinary:livewire'),
+ 'svelte' => $this->call('cloudinary:svelte'),
24
default => $this->info('No JavaScript framework detected.'),
25
};
26
}
@@ -42,8 +42,8 @@ private function getDependencies(): ?string
42
return 'vue';
43
44
45
- if (class_exists('Livewire\Livewire')) {
46
- return 'livewire';
+ if (isset($dependencies['@vitejs/plugin-svelte'])) {
+ return 'svelte';
47
48
49
return null;
0 commit comments