Added guide for generating react libs

pull/1498/head
ioedeveloper 3 years ago
parent f3cca92f9e
commit d889e87f22
  1. 17
      libs/remix-ui/README.md

@ -0,0 +1,17 @@
# remix-ui
This library was generated with [Nx](https://nx.dev).
## Steps To Generate React Lib
- Install **NxConsole** vscose extension
- Create new copy of **tsconfig.json**
- Rename it to **tsconfig.base.json**
- Open **NxConsole** extension
- Click generate option
- Select **@nrwl/react -Library**
- Enter library name
- Set **directory** to **remix-ui**
- Set **importPath** to **@remix-ui/{library-name}**
- Click the run button in the top right corner of the generate page.
- Update **tsconfig.json** with updates added to **tsconfig.base.json**
- Delete **tsconfig.base.json**
Loading…
Cancel
Save