0.0.5 • Published 3 years ago

@oragroup/andsons-ui v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

frontend-components

Currently contains the following components:

  • Checkbox
  • CheckoutWrapper
  • Question
  • Radio
  • RadioCheckbox

Refer to docs folder for some autogenerated documentation using vuedoc To add more components, place it in the src folder, and export it in src/index.ts, add any tests in the test folder.

The dist folder is auto-populated on build.

The dev folder contains some example implementations of the different components, which you can add on to for easier testing.

Currently using typescript in the vue sfc for better intellisense and documentation.

To create a new package version, just create a new release.

To import into another repository, add the following in the .npmrc file:

@oragroup-team:registry=https://npm.pkg.github.com/

Obtain a github personal access token with the permissions repo and read:packages, run the following in your terminal, filling in your github username, access token as the password

 npm login --registry=https://npm.pkg.github.com

and import the package ("@oragroup-team/frontend-components": "0.0.1")