I'm trying to integrate WebPack Encore with FOSJsRouting. I don't have a lot of experience with WebPack but I did use FOSJsRouting successfully without it.
I'm following the official documentation and I'm getting this error when Encore runs the build process>
"export 'default' (imported as 'Routing') was not found in '../../vendor/friendsofsymfony/jsrouting-bundle/Resources/public/js/router.js'
Any ideas? Thanks
You can find your answer in the documentation here : https://symfony.com/doc/master/bundles/FOSJsRoutingBundle/usage.html
You can reply with a comment if you want more help.