WIP: feat: route modals everywhere #2735

Closed
dpschen wants to merge 15 commits from dpschen/frontend:feature/route-modals-everywhere into main
1 changed files with 14 additions and 3 deletions
Showing only changes of commit de7d004c6e - Show all commits

View File

@ -1,11 +1,22 @@
<!-- https://github.com/vuejs/rfcs/pull/449 -->
<!-- https://github.com/vuejs/rfcs/discussions/448#discussioncomment-2769396= -->
<script lang="ts">
dpschen marked this conversation as resolved Outdated

This component makes it possible to optionally wrap around another component. If the is prop defines a component it will be rendered as a wrapper around the slot content. If the is prop is undefined there won't be any wrapper.

This component makes it possible to optionally wrap around another component. If the `is` prop defines a component it will be rendered as a wrapper around the slot content. If the `is` prop is undefined there won't be any wrapper.
export default { inheritAttrs: false }
</script>
<script setup lang="ts">
defineProps<{ is: any }>()
/**
* This component makes it possible to optionally wrap around another component.
* It's based on these ideas:
*
* - https://github.com/vuejs/rfcs/pull/449
* - https://github.com/vuejs/rfcs/discussions/448#discussioncomment-2769396=
*/
defineProps<{
dpschen marked this conversation as resolved Outdated

Remove this

Remove this
/**
* If the `is` prop defines a component it will be rendered as a wrapper around the slot content.
* If the `is` prop is undefined there won't be any wrapper.
*/
is: any,
}>()
</script>
<template>