A library of React components used for ReactJS applications.
- Make sure to set the version in
package.json
. - When a new GitHub release is created, a GitHub workflow will launch to build a package for that release.
You have to EITHER login before you can install a package.
npm login --registry=https://npm.pkg.github.com
> Username: USERNAME
> Password: YOUR-GITHUB-TOKEN
> Email: PUBLIC-EMAIL-ADDRESS
OR use a .npmrc file
- Create a
.npmrc
file at the root of your project with this contents
registry=https://npm.pkg.github.com/ukhc
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_AUTH_TOKEN
Then install the package
npm install @stevenriggs/react-library
Install bootstrap
npm install boostrap
The following line should be included in your src/index.js or App.js file
import 'bootstrap/dist/css/bootstrap.min.css';