FriendsOfSymfony / FOSJsRoutingBundle

A pretty nice way to expose your Symfony routing to client applications.
1.48k stars 261 forks source link

npm package #342

Closed marovargovcik closed 1 year ago

marovargovcik commented 5 years ago

Hey,

It seems like this project is not published in npm registry. Would be really cool to have it.

What do you think?

Thanks.

danrot commented 5 years ago

I would also think so. As a solution in the mean time I've gone with a webpack alias like this:

module.exports = (env, argv) => ({
    resolve: {
        alias: {
            'fos-jsrouting': path.resolve(
                rootPath,
                'vendor/friendsofsymfony/jsrouting-bundle/Resources/public/js'
            ),
        },
    },
});
Magiczne commented 2 years ago

@tobias-93 i see you're the main maintainer right now - maybe this could be addressed? As linking js package from composer vendor file is not a great solution

Magiczne commented 1 year ago

@marovargovcik you closed it cause the package was released? If so please link to it