Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
3f9d1afd
Commit
3f9d1afd
authored
Aug 19, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added instructions for creating react apps and components
parent
3c3676cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
5 deletions
+27
-5
README.md
libs/remix-ui/README.md
+27
-5
No files found.
libs/remix-ui/README.md
View file @
3f9d1afd
...
...
@@ -2,12 +2,34 @@
This library was generated with
[
Nx
](
https://nx.dev
)
.
##
Steps To Generate React Lib
##
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 -
L
ibrary**
-
Enter
library name
-
Select
**@nrwl/react -
l
ibrary**
-
Enter
the name of the library
-
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.
\ No newline at end of file
-
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.
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment