Live Components not working at all #2500
Unanswered
GBeushausen
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
i'm trying out Live Components for the first time. However there is no interactivity at all and there are no error messages whatsoever.
I'm using the latest Symfony 7 version and i created the RandomNumber component from the documentation. The random number gets displayed, but the button to generate a new number is not working at all.
IThese files got created by Symfony automatically:
bootstrap.js
`import { startStimulusApp } from '@symfony/stimulus-bundle';
const app = startStimulusApp();
// register any custom, 3rd party controllers here
// app.register('some_controller_name', SomeImportedController);
`
controllers.json
{ "controllers": { "@symfony/ux-live-component": { "live": { "enabled": true, "fetch": "eager", "autoimport": { "@symfony/ux-live-component/dist/live.min.css": true } } } }, "entrypoints": [] }
What can i do to make it work?
Beta Was this translation helpful? Give feedback.
All reactions