Skip to content

Your controllers.json file was not found. Be sure to add a Webpack alias from "@symfony/stimulus-bridge/controllers.json" to *your* controllers.json file. #77

Open
@dokselblackbit

Description

Hello. I have some error:
Your controllers.json file was not found. Be sure to add a Webpack alias from "@symfony/stimulus-bridge/controllers.json" to *your* controllers.json file.
I added into webpack.config.js Encore.enableStimulusBridge('./assets/controllers.json')
How to fix it?

controllers.json is into assets
{ "controllers": [], "entrypoints": [] }

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions