Skip to content

Commit 1ab2f23

Browse files
committed
[LiveComponent] Update importmap conf in package.json
Allow using getComponent with no aditional configuration ```js import { getComponent } from '@symfony/ux-live-component'; ```
1 parent 4455b0b commit 1ab2f23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/LiveComponent/assets/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
}
2323
},
2424
"importmap": {
25-
"@hotwired/stimulus": "^3.0.0"
25+
"@hotwired/stimulus": "^3.0.0",
26+
"@symfony/ux-live-component": "path:%PACKAGE%/dist/live_controller.js"
2627
}
2728
},
2829
"dependencies": {

0 commit comments

Comments
 (0)