Skip to content

Commit cb2d1b8

Browse files
authored
Update README.md
1 parent 88b3cc8 commit cb2d1b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ A template for creating your react package.
22

33
#### Guide
44

5-
- Replace content in src/lib with your source code.
5+
- Replace the content in src/lib with your own component or library.
66
- Test run your library by importing in `App.js` and running `npm start`.
7-
- Specify entry file in `rollup.config.js` input field
7+
- Specify entry file in rollup's config input property (`rollup.config.js`).
88
- Run `npm run build` to bundle.
9+
- run `npm link` and `npm link <package-name>` from the root of your project to test bundle.
10+
- Test run your bundle by importing into `App.js` from the package name and running `npm start`.
911

1012
To learn more. Read the [article](https://dev.to/emeka)

0 commit comments

Comments
 (0)