Sunshine/src_assets/common/assets/web/PlatformLayout.vue
Vithorio Polten 4b6ff3797e
refactor(ui): break down config.html into smaller pieces (#2491)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2024-05-13 13:08:13 -04:00

28 lines
476 B
Vue

<script setup>
const props = defineProps({
platform: {
type: String,
required: true
}
})
</script>
<template>
<template v-if="$slots.windows && platform === 'windows'">
<slot name="windows"></slot>
</template>
<template v-if="$slots.linux && platform === 'linux'">
<slot name="linux"></slot>
</template>
<template v-if="$slots.macos && platform === 'macos'">
<slot name="macos"></slot>
</template>
</template>
<style scoped>
</style>