Guild Frontend catalog
How to:
How to init the monorepo with nx: nx
yarn global add nx@latest
npx nx@latest init
Add the different plugins : nx plugins
yarn add @nx/angular:app
yarn add @nx/angular
yarn add @nx/react
yarn add @nx/storybook
yarn add @nx-plus/vue
Create apps (UI): generators
nx generate @nx/angular:app angular-book
nx generate @nx/react:app react-book
nx generate @nx-plus/vue:app vue-book
nx g @nx/storybook:configuration angular-book
nx g @nx/storybook:configuration react-book
nx g @nx/storybook:configuration vue-book
yarn add @nx/node
nx generate @nx/node:app node-book
yarn add @nx/nest
nx generate @nx/nest:app nest-book
yarn add -D @nx-extend/playwright
nx g @nx-extend/playwright:init
Lancer le storybook sur le projet react-book:
npx nx storybook react-book
Lancer le projet tu lances la commande :
npx nx serve react-book
Lancer les tests :
npx nx test react-book