@muenchen/appswitcher-vue
| Install | |
|---|---|
npm install @muenchen/appswitcher-vue |
|
| Latest Version: | 4.0.0 |
| Vue: | 3 |
| Older releases: | 2 |
| License: | MIT |
| Last Updated: | Oct 22, 2026 |
| Links: | GitHub · npm |
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
Required Peer Dependencies:
"vue": "^3.5.0",
"vuetify": "^4.1.0"
If you are using older versions of Vue.js and Vuetify, you still can use older releases:
| Vue.js | Vuetify | appswitcher-vue Version |
|---|---|---|
| 2.x | 2.x | 1.x |
| 3.x | 3.x | 2.x |
| 3.x | 4.0.x | 3.x |
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>
Props
| Property | Description | Type | Default |
|---|---|---|---|
| baseUrl | Base-URL to an instance of appswitcher-server | string | undefined |
| id | HTML id attribute prefix | string | appswitcher |
| unavailableText | If appswitcher-server is not available: Paragraph text | string | Your apps could not be retrieved from appswitcher-server. Please try again later. |
| tags | Tags for request | string[] | [] |
| width | Width | string | 315 |
| height | Height | string | 300 |
| icon | Icon for activator button | string | mdi-apps |
Slots
activator
Default:
<v-icon-btn v-bind="{ ...props, ...$attrs }" :icon="icon" />
Custom example:
<app-switcher
base-url="https://my-appswitcher-server-instance.example.com"
:tags="['global', 'finance']"
>
<template #activator="{ props }">
<v-btn v-bind="props">CUSTOM activator</v-btn>
</template>
</app-switcher>
Develop
It is recommended to run a local instance of appswitcher-server as a "backend", e.g. using Docker:
docker run -d --name appswitcher-server -p 8080:8080 -e SPRING_PROFILES_ACTIVE=demo ghcr.io/it-at-m/appswitcher-server:latest
# Do dev stuff
npm run dev
Build
# Run build process
npm run build
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 |
|
perf(pencil): remove graphiteWidth optionBREAKING CHANGE: The graphiteWidth option has been removed.The default graphite width of 10mm is always used for performance reasons. |
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!
- Open an issue with the tag "enhancement"
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE file for more information.
Contact
it@M - opensource@muenchen.de
Related Packages
A vue component library of some of the components available from https://pattern...
Generate forms for the vuetify UI library (vuejs) based on annotated JSON schema...
Version History
| Version | Released | License |
|---|---|---|
| 4.0.0 | MIT | |
| 3.0.0 | MIT | |
| 2.2.0 | MIT | |
| 2.1.0 | MIT | |
| 2.0.4 | MIT | |
| 2.0.3 | MIT | |
| 2.0.2 | MIT | |
| 2.0.1 | MIT | |
| 2.0.0 | MIT | |
| 1.0.0 | MIT |
Pre-releases (7)
| Version | Released | License |
|---|---|---|
| 2.2.0-beta.2 | MIT | |
| 2.2.0-beta.1 | MIT | |
| 2.1.0-beta.1 | MIT | |
| 2.0.0-beta.3 | MIT | |
| 2.0.0-beta.2 | MIT | |
| 2.0.0-beta.1 | MIT | |
| 1.0.0-beta.2 | MIT |