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
joseph izang f9eb845986 Merge branch 'react-plugin-manager' of https://github.com/ethereum/remix-project into react-plugin-manager 3 years ago
..
checkbox Setup tsconfig.base.json 3 years ago
clipboard Setup tsconfig.base.json 3 years ago
debugger-ui Setup tsconfig.base.json 3 years ago
file-explorer Setup tsconfig.base.json 3 years ago
modal-dialog Merge branch 'master' into react-plugin-manager 3 years ago
plugin-manager changes based on comments from @ioedeveloper 3 years ago
publish-to-storage Setup tsconfig.base.json 3 years ago
renderer Setup tsconfig.base.json 3 years ago
settings Setup tsconfig.base.json 3 years ago
solidity-compiler Setup tsconfig.base.json 3 years ago
static-analyser Setup tsconfig.base.json 3 years ago
toaster Setup tsconfig.base.json 3 years ago
tree-view Setup tsconfig.base.json 3 years ago
utils Setup tsconfig.base.json 3 years ago
workspace Setup tsconfig.base.json 3 years ago
README.md Added instructions for creating react apps and components 3 years ago

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.