@apiida/vue-components

The Vue Components is the component library for the API Control Plane and contains components built with Vue 3 and Typescript. It implements the Exosphere and therefore follows this design system.
35,314
Install
npm install @apiida/vue-components
Latest Version:18.0.2
Vue:3
License:ISC
Last Updated:Jan 28, 2025
Links: npm
Maintainer: apiida

API Control Plane - Vue Components

https://apiida.com/

A Vue 3 component library.

When you are starting a new prototype you want to be able to develop features fast. We created this component library as a way for us to build products quickly without having to deal with complicated packages and a huge bundle sizes.

This library is built, maintained, tested and documented with Storybook.

https://www.npmjs.com/package/@apiida/vue-components

Merge conflicts / version conflicts

The branches "master" and "fallback" are published on npm. Npm always takes the highest version number, the branch doesn't matter. The "master" should always contain the highest version (see examples below). If there are problems with the versions during parallel development:

  1. In case of a merge conflict you have to check if there are breaking changes in the other frontends. If so, the merge must be aborted and the fallback must be used.

  2. There a new version number is set.

  3. With this new version number you can continue to work in the other frontends.

  4. Set the version number in the frontend:

    npm install @apiida/vue-components@3.23.4
    
  5. Discuss with the team and merge the version number.

    // local version of vue-components
    npm list @apiida/vue-components
    
    // Highest verion in npm (online)
    npm view @apiida/vue-components
    

Usage

You can import the available components like so.

import { Button } from '@apiida/vue-components'

Links

https://storybook.js.org/docs/vue/get-started/introduction

Contribute

Guideline

Each component should have at least one story and one test. The GitHub action takes over the automatic deployment of the library to npm. However, the version number must be changed for this.

Version

The version is made up as follows.

BreakingChange.CreateOrUpdateComponent.BugFix (1.2.598)

How to contribute manual

Pull the Project

git pull https://github.com/apiida/vue-components

Start Storybook

start-storybook -p 6006

Create some cool components, stories and tests!

Components

Styles

Because VITE bundles all css files when building the library in a style.css, and you may not want to have all in your project. You can also pack your styles in a separate file (css). This must then be included in the Story and in the project as well.

Version History

Version Released License
18.0.2 ISC
18.0.1 ISC
18.0.0 ISC
17.1.2 ISC
17.1.1 ISC