Skip to content

Instantly share code, notes, and snippets.

@alexgorbatchev
Created January 14, 2014 23:48
MEAN folder structure
/node_modules
/package.json
/src
/node_modules
/client -> ../client
/server -> ../server
/shared -> ../shared
/client
/apps
/main
/test
main.spec.js
index.js
/modules
/foo
/test
foo.spec.js
index.js
/server
/apps
/modules
/shared
@alexgorbatchev
Copy link
Author

from any file in the src you can require("shared/foo") or require("client/modules/foo") and so on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment