@usssa/component-library

1.0.0-alpha.1 • Public • Published

Prerequesites

  1. 'quasar' should be installed in the project using the library

  2. Your package.json should include the pacakge in the dependencies like this:

dependencies: {
  @usssa-org/component-library: 'latest'
}
  1. 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>
}

Install the dependencies

yarn

Start the app in development mode (hot-code reloading, error reporting, etc.)

quasar dev

Component Library

This library provides custom component for use in TACO client/DotCom applications.

Installation

  1. Install the packge using command 'yarn'
  2. 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" />

Install Option for Local Development

  1. Clone the component-library repo and install dependencies
  2. In component-library directory run yarn link
  3. In Nuxt or Quasar project directory run yarn link @usssa/component-library

When done:

  1. In Nuxt or Quasar project directory run yarn unlink @usssa/component-library
  2. In component-library directory run yarn unlink

Readme

Keywords

none

Package Sidebar

Install

npm i @usssa/component-library

Weekly Downloads

231

Version

1.0.0-alpha.1

License

ISC

Unpacked Size

1.09 MB

Total Files

75

Last publish

Collaborators

  • adamkpurdy_usssa
  • tmoreland72