@visitscotland/component-library
Version:
VisitScotland Component Library
50 lines (34 loc) • 2.18 kB
Markdown
# VisitScotland Component Library
[](https://github.com/visitscotland/)
[](https://badge.fury.io/js/@visitscotland%2Fcomponent-library)
[](https://vuejs.org/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/visitscotland/vs-component-library/actions/workflows/test.yml)
[](code_of_conduct.md)
This is the repository for the **VisitScotland Component Library** which contains all the components that can be used to build user interfaces for VisitScotland.
## Getting started
Clone the repository then install the package:
```sh
yarn install
```
To set up a development environment, you will need to create a .env file with the necessary environment variables then you can run Storybook with this command:
```sh
yarn storybook
```
## Installation
The component library can be installed via NPM to be used in your project.
To install the VisitScotland Component Library in your project, run the following command using npm:
```sh
npm install @visitscotland/component-library
```
If using Yarn, use the following command instead:
```sh
yarn add @visitscotland/component-library
```
## Contribution
Before contributing, please read our [contribution guidelines](CONTRIBUTING.md) and [code of conduct](CODE_OF_CONDUCT.md).
## License
[MIT](https://choosealicense.com/licenses/mit/)
## Thanks
<a href="https://www.chromatic.com/"><img src="https://user-images.githubusercontent.com/321738/84662277-e3db4f80-af1b-11ea-88f5-91d67a5e59f6.png" width="153" height="30" alt="Chromatic" /></a>
Thanks to [Chromatic](https://www.chromatic.com/) for providing the visual testing platform that helps us review UI changes and catch visual regressions.