Skip to content

bcgov/vue-shared-components

Repository files navigation

Maintainability Test Coverage

vue-shared-components

A collection of vue components to build bcgov themed interfaces

Getting started

In order for a project to use these components, add the latest release to the project's package.json. Example: (current release)

"dependencies": {
    ...
    "shared-components": "https://github.com/bcgov/vue-shared-components/releases/download/0.1.0/vue-shared-components-0.1.0.tgz",
    ...
},

Creating a release

Run the following commands locally when ready to release:

yarn install
npm pack

Running the pack command will create a shared-components-X.X.X.tgz file in the root level of the project that contains the components ready for consumption by any project.