remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/libs/remix-ui/README.md

1.4 KiB

remix-ui

This library was generated with Nx.

Pre-requisite

  • Install NxConsole vscode extension

Steps To Generate React App

  • Open NxConsole extension
  • Click generate option
  • Select @nrwl/react - application
  • Enter the name of the application
  • Set e2eTestRunner to none. (This is because we run e2e tests with nightwatch)
  • Set unitTestRunner to none.
  • Click the run button in the top right corner of the generate page.
  • Your react application should be created in {root}/apps directory.

Steps To Generate React Lib

  • Open NxConsole extension
  • Click generate option
  • Select @nrwl/react - library
  • Enter the name of the library
  • Set directory to remix-ui
  • Set importPath to @remix-ui/{library-name}
  • Set unitTestRunner to none.
  • Click the run button in the top right corner of the generate page.
  • Your react library should be created on {root}/libs/remix-ui directory.

Steps To Generate React Component

  • Open NxConsole extension
  • Click generate option
  • Select @nrwl/react - component
  • Enter the name of the component
  • Select the name of the project/library that uses the component. (e.g TreeView library)
  • Set component directory if needed.
  • Click the run button in the top right corner of the generate page.
  • Your react component should be created with the project/library name specified.