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
lianahus b19af60d2e linter 3 years ago
..
checkbox
clipboard
debugger-ui linter 3 years ago
file-explorer add separator 3 years ago
modal-dialog
plugin-manager handle cancel 3 years ago
publish-to-storage
renderer
settings
solidity-compiler fix loading compiler in unit testing 3 years ago
static-analyser
toaster
tree-view
utils
workspace
README.md

README.md

remix-ui

This library was generated with Nx.

Pre-requisite

  • Install NxConsole vscose 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.