Skip to content

Commit bba6775

Browse files
committed
feature #1428 [LiveComponent] Update importmap conf in package.json (smnandre)
This PR was merged into the 2.x branch. Discussion ---------- [LiveComponent] Update importmap conf in package.json Replaces #1406 Allow using getComponent with no aditional configuration ```js import { getComponent } from '`@symfony`/ux-live-component'; ``` Commits ------- 1ab2f23 [LiveComponent] Update importmap conf in package.json
2 parents 9fcbdf3 + 1ab2f23 commit bba6775

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)