npx create-nx-workspace@latest root --pm pnpm
nx g lib childrenA --directory=packages/childrenA
编译工具 选 rollup 和 vite,其它的部分配置有问题。
单测工具推荐选 vitest,选 jest 也可以。
pnpm i -D -w package-name
npx create-nx-workspace@latest root --pm pnpm
nx g lib childrenA --directory=packages/childrenA
编译工具 选 rollup 和 vite,其它的部分配置有问题。
单测工具推荐选 vitest,选 jest 也可以。
pnpm i -D -w package-name