Skip to content

Commit 96e56b0

Browse files
committed
fixed readme instructions
1 parent 18d90e4 commit 96e56b0

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

README.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -111,26 +111,21 @@ This can be seen in the `example` app, but here are the relevant parts, required
111111

112112
```sh
113113
//--step 1
114-
git clone https://github.com/srdjan/react-multistep.git //clone the repo
115-
cd react-multistep/example //navigate to the project folder
114+
git clone https://github.com/srdjan/react-multistep.git // (1) clone the repo
115+
cd react-multistep // (2) navigate to the project folder
116+
npm install // (3) install dependencies
117+
npm run build // (4) build the component
116118
```
117119

118-
2) Next, install dependencies and build the component:
120+
3) On a successful build, to try the example app:
119121

120122
```sh
121-
npm install
122-
npm run build
123+
cd ../example // (1) navigate to the example folder
124+
npm install // (2) install dependencies
125+
npm run build // (3) build the example
126+
npm start // (4) start the local server
123127
```
124128

125-
3) On a successful build, to try the example app, navigate to the example folder and try it:
126-
127-
```sh
128-
cd ../example
129-
npm install
130-
npm run build
131-
npm start
132-
```
133-
134-
4) Now you can open the example in your favorite browser
129+
Now, you can open the example in your favorite browser...
135130

136131

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-multistep",
3-
"version": "5.5.5",
3+
"version": "5.5.6",
44
"description": "Responsive ReactJS multistep form component",
55
"main": "dist/index.js",
66
"files": [

0 commit comments

Comments
 (0)