This project has been entirely generated using the NX cli and some plugins.
It combines the power of pnpm an nx to offer a performant setup for your monorepo.
To serve both the front-end application and the api:
pnpx nx run-many --target=serveTo run the storybook for the my-new-lib library:
pnpx nx storybook my-new-libpnpx create-nx-workspace
pnpm i -D @nrwl/react @nrwl/storybook
pnpx nx g @nrwl/react:lib my-new-lib
pnpx nx g @nrwl/storybook:configuration my-new-libThen a my-new-lib.stories.mdx file was created to see storybook in action and the MyNewLib component was imported in the web project as well.
See ./slides directory