What is the difference between lerna bootstrap and yarn's workspaces?

when looking at the code of vue-cli3 , it uses the workspaces feature of yarn to handle soft connections between packages, but also uses lerna , and lerna bootstrap also handles soft connections. So what"s the difference between vue-cli and why use workspaces of yarn instead of lerna bootstrap ?

Jul.16,2021

lerna bootstrap

< H1 > add lerna.json file < / H1 >

"useWorkspaces": true,
"npmClient": "yarn",
after configuration, the underlying layer is yarn install
yarn supports workspaces

see my original article
https://juejin.im/post/5ced16.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2af8c-dfa7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2af8c-dfa7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?