Skip to content

Commit 09ca471

Browse files
authored
added missing import to code snippet
1 parent fa60799 commit 09ca471

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,7 @@ component system from Stimulus:
948948
949949
// assets/controllers/some-custom-controller.js
950950
// ...
951+
import { Controller } from '@hotwired/stimulus';
951952
import { getComponent } from '@symfony/ux-live-component';
952953
953954
export default class extends Controller {

0 commit comments

Comments
 (0)