Skip to content

it-at-m/appswitcher-vue

Repository files navigation

appswitcher-vue

Provides a Vue.js/Vuetify component to quickly switch between apps provided by an appswitcher-server instance.

Usage

Installation

npm install @muenchen/appswitcher-vue

Starting with release 2.x appswitcher-vue requires Vue.js 3.x and Vuetify 3.x as peer dependencies, to be exact:

Required Peer Dependencies:

"@mdi/font": "> 5",
"vue": "^3.2.0",
"vuetify": "^^3.0.0"

If you are using Vue.js 2.X and Vuetify 2.X, you still can use release 1.0.0:

npm install @muenchen/appswitcher-vue@1.0.0

Use

import { AppSwitcher } from "@muenchen/appswitcher-vue";
export default {
  name: "MyApp",
  components: {
    AppSwitcher
  }
});
<template>
  <v-app id="app">
    <v-app-bar id="app-bar" app clipped-left dark color="primary">
      <!-- [....] -->
      <v-spacer />
      <app-switcher base-url="https://my-appswitcher-server-instance.example.com" :tags="['global', 'finance']"/>
  </v-app>
</template>

Develop

# Do dev stuff
npm run serve

Build & Demo

# Run build process
npm run build
# Run demo app
npm run dev

Release & Publish

This project uses semantic-release!

Commit message Release type
fix(pencil): stop graphite breaking when too much pressure applied Patch Release
feat(pencil): add 'graphiteWidth' option Minor Feature Release
perf(pencil): remove graphiteWidth option

BREAKING CHANGE: The graphiteWidth option has been removed.
The default graphite width of 10mm is always used for performance reasons.
Major Breaking Release

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please open an issue with the tag "enhancement", fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Open an issue with the tag "enhancement"
  2. Fork the Project
  3. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  4. Commit your Changes (git commit -m 'Add some AmazingFeature')
  5. Push to the Branch (git push origin feature/AmazingFeature)
  6. Open a Pull Request

License

Distributed under the MIT License. See LICENSE file for more information.

Contact

it@M - opensource@muenchen.de