Open alexbaron opened 6 months ago
is it possible to update the command DumpCommand to be able to generate the js routes content as follow :
const routesConfig = { "base_url": "", "routes": { "route name": { .... } }, "prefix": "", "host": "localhost", "port": "", "scheme": "http", "locale": "" }; export default routesConfig;
I tried to use callback without success.
My goal is to be able to use fosjsrouting in assetmapper as follow :
import Routing from 'fos-routing'; import routerConfig from './routing/fos_js_routes.js'; Routing.setData(routerConfig);
is it possible to update the command DumpCommand to be able to generate the js routes content as follow :
I tried to use callback without success.
My goal is to be able to use fosjsrouting in assetmapper as follow :