Skip to content

Commit 97ad37a

Browse files
committed
minor #3127 added missing import to code snippet (rgeraads)
This PR was merged into the 2.x branch. Discussion ---------- added missing import to code snippet | Q | A | -------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md --> | Documentation? | yes <!-- required for new features, or documentation updates --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT Commits ------- 09ca471 added missing import to code snippet
2 parents fa60799 + 09ca471 commit 97ad37a

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)