-
Notifications
You must be signed in to change notification settings - Fork 49
Express depency is bad #29
Comments
AngularJS-Server does not depend on express's router, so using a different router might work. It's possible that the middleware functions in this library make use of the express extensions to the request and response objects; I'm not sure since we've never tried this code without express. If the included middlewares don't meet your needs then it's possible to interact with AngularJS-Server at a low level that doesn't care about middlewares at all, using the |
Ok. But is it possible to remove the express dependency from package.json. Probably the weather example should be moved to another repo. |
Also the weather app isn't working. |
Related to this discussion of express dependency: I think they are worthwhile use cases for this tool where it is used only during a build process. It could create an initial static rendering starting point for an application, with the contents to be replaced by angular at run time. This has several benefits:
|
Is it possible to run this without express...I am already using another server side router.
The text was updated successfully, but these errors were encountered: