-
'quasar' should be installed in the project using the library
-
Your package.json should include the pacakge in the dependencies like this:
dependencies: {
@usssa-org/component-library: 'latest'
}
- Your .npmrc file in the root of the project should look like this:
{
shamefully-hoist=true
strict-peer-dependencies=false
resolution-mode=highest
@usssa-org:registry = https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=<YOUR_GITHUB_TOKEN>
}
yarn
quasar dev
This library provides custom component for use in TACO client/DotCom applications.
- Install the packge using command 'yarn'
- Go to specific page where you want to use a component from that library.
a. Import the library in your Quasar project:
import { UBtnStd } from 'component-library'
b. Use the BtnStd component in your Nuxt app:<UBtnStd label="Test" size="lg" />
- Clone the component-library repo and install dependencies
- In component-library directory run
yarn link
- In Nuxt or Quasar project directory run
yarn link @usssa/component-library
When done:
- In Nuxt or Quasar project directory run
yarn unlink @usssa/component-library
- In component-library directory run
yarn unlink