DEV Community

Discussion on: Big Giant Vue Apps

Collapse
 
akryum profile image
Guillaume Chau

What you need to add to the root package.json:

  "workspaces": [
    "packages/*"
  ],

Then remove all node_modules folders in the mono-repo, remove the package-lock.json file and then run yarn in the root directory.

Example with yarn workspaces and lerna

Collapse
 
karmablackshaw profile image
KarmaBlackshaw

is there anything like this for NPM ?

Collapse
 
jakecodes profile image
Jacob Schatz

Thanks a lot! I'll give this a try. This is exactly what I am trying to do.