symfony / stimulus-bridge

Stimulus integration bridge for Symfony projects
https://symfony.com/ux
75 stars 15 forks source link

Stimulus components doesn't work after the update to 2.0 #61

Closed kokojar closed 2 years ago

kokojar commented 2 years ago

Hi,

Stimulus components do not work after the update:

bootstrap.js:

const app = startStimulusApp(require.context(
    '@symfony/stimulus-bridge/lazy-controller-loader!./controllers',
    true,
    /\.(j|t)sx?$/
));

app.register('clipboard', Clipboard);

export { app };

it no longer works

and also https://stimulus-use.github.io/stimulus-use/#/application-controller Extending a controller (ApplicationController) dont work anymore.

tgalopin commented 2 years ago

Hello @kokojar,

Could you give us a bit more details on your error and ideally a reproducer? Did you follow the upgrade path provided in https://symfony.com/blog/symfony-ux-2-0-and-stimulus-3-support ?

weaverryan commented 2 years ago

Hi! I'm going to close this issue since it's gotten a bit stale. Please feel free to reopen if you have more details.

Cheers!