Skip to content

Commit 0b215ad

Browse files
committed
dont need that anymore...
1 parent 169053a commit 0b215ad

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Maker/MakeTwigComponent.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
8989
$name = $input->getArgument('name');
9090
$live = $input->getOption('live');
9191

92-
if ($live && !class_exists(AsLiveComponent::class)) {
93-
throw new \RuntimeException('You must install symfony/ux-live-component to create a live component (composer require symfony/ux-live-component)');
94-
}
95-
9692
$factory = $generator->createClassNameDetails(
9793
$name,
9894
'Twig\\Components',

0 commit comments

Comments
 (0)