Installation

Last Update : 11 July, 2024 | Published : 28 June, 2023 | 1 Min Read

Install IntelOps UI for your design needs.

Note: You can see the template in Intelops UI private repo

Package Prerequisites

Note: Since this is a private repo, just installing using npm won’t download the packages, we need to follow a few more steps - adding GitHub PATs to your VScode.

How to add GitHub Personal Access Tokens to your VsCode

To install the published UI packages into your code:

  1. Create a .npmrc file inside the root directory of the Intelops UI private repo
  2. Add the below two lines in the npmrc file
    • registry=https://npm.pkg.github.com
    • auth_token={Personal access token generated using intelops private github account}
  3. Now add the below line in package.json file under dependencies
    • “@intelops/intelops_ui”: “1.0.3”

Dependencies

"Dependencies":{
"@intelops/intelops_ui": "1.0.3"
}

After adding the .npmrc file before installation run :

npm login

This will ask for your :

  • Username: {github username}
  • Password: {personal access token that you’ve added in your .npmrc file}

Now you ready to start your installation.

Installation

Now to install the package, run one of the following commands in your project:

npm

npm install @intelops/intelops_ui@1.0.3

yarn

yarn add @intelops/intelops_ui@latest --registry=https://npm.pkg.github.com

After installation make sure to check if the latest version of the common ui package has been installed under node_modules folder.

Looking for Cloud-Native Implementation?

Finding the right talent is pain. More so, keeping up with concepts, culture, technology and tools. We all have been there. Our AI-based automated solutions helps eliminate these issues, making your teams lives easy.

Contact Us