refactor(ui): break down config.html into smaller pieces (#2491)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
Vithorio Polten 2024-05-13 14:08:13 -03:00 committed by GitHub
commit 4b6ff3797e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 1636 additions and 1081 deletions

View file

@ -0,0 +1,27 @@
<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>