FOSJsRoutingBundle
FOSJsRoutingBundle copied to clipboard
A pretty nice way to expose your Symfony routing to client applications.
This PR makes the webpack plugin usable under windows (and not just linux)
I have inherited an older Symfony 3.4 project with a dependency [causing issues with PHP 8](https://github.com/symfony/symfony/discussions/46794#discussioncomment-3037982): > php.CRITICAL: Type error: implode(): Argument #2 ($array) must be of type ?array, string...
I try to use the router in a typescript + vite environnement. I import the library like: `import {Routing} from '~/vendor/friendsofsymfony/jsrouting-bundle/Resources/public/js/router'` (~ is an alias to the root folder) But...
## Current Situation Currently FosJSRoutingBundle can be configured in the following ways to output the routes. First one is by adding `expose: true` parameter to specific routes e.g.: ```yaml my_route_to_expose:...
When dumping routes on local dev: ```shell fos:js-routing:dump --format=json --target=public/js/routes.json ``` The json output does not include `port` if the web server is running with a port (e.g. `8080`): ```json...
I'm currently trying to use this package in a Symfony project using Webpack Encore, I'm currently working with Vue 3 and Typescript and trying to implement it as show in...
Good day everyone, As I was trying to explain as part of the issue's title, using this bundle works fine on my local development environment, setting the `APP_ENV` to `dev`....
Hi, i just followed the install instruction => https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/blob/master/Resources/doc/installation.rst but i get the javscript error: Uncaught SyntaxError: Unexpected identifier for the line: `import` Routing from `'../../vendor/friendsofsymfony/jsrouting-bundle/Resources/public/js/router.min.js';` is this a common...
i installed version 3.1, using symfony 6, the package created fos_js_routing.yaml in config/routes folder with content ```yaml fos_js_routing: resource: "@FOSJsRoutingBundle/Resources/config/routing/routing-sf4.xml" ``` i have added a key routes_to_expose as per documentation...
Empty routes
Symfony 4.0.8 All cache cleared. Followed steps https://symfony.com/doc/master/bundles/FOSJsRoutingBundle/index.html I do not have `routing.yaml` in config/, it is replaced with `routes.xml`. It does not accept resource parameter for route. Ok. Created...