fix(ui): use consistent import syntax
This commit is contained in:
parent
5e3b867aef
commit
b04e5254c4
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { type PastelProps, propsToColor } from '~/composables/colors';
|
||||
import { type PastelProps, propsToColor } from '~/composables/colors'
|
||||
|
||||
type Props = PastelProps
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import { computed } from 'vue'
|
||||
|
||||
import { type RouterLinkProps, RouterLink } from 'vue-router';
|
||||
import { type ColorProps, type PastelProps, type RaisedProps, type VariantProps, propsToColor } from '~/composables/colors';
|
||||
import { type ColorProps, type PastelProps, type RaisedProps, type VariantProps, propsToColor } from '~/composables/colors'
|
||||
|
||||
import Pill from './Pill.vue'
|
||||
import Alert from './Alert.vue'
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
import { type RouterLinkProps, RouterLink } from 'vue-router';
|
||||
import { type ColorProps, propsToColor } from '~/composables/colors';
|
||||
import { computed } from 'vue'
|
||||
import { type RouterLinkProps, RouterLink } from 'vue-router'
|
||||
import { type ColorProps, propsToColor } from '~/composables/colors'
|
||||
|
||||
const { to, icon, inline, ...otherProps } = defineProps<RouterLinkProps
|
||||
& ColorProps
|
||||
& {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { type ColorProps, type PastelProps, propsToColor } from '~/composables/colors';
|
||||
import { type ColorProps, type PastelProps, propsToColor } from '~/composables/colors'
|
||||
|
||||
const emit = defineEmits<{
|
||||
click: [event: MouseEvent]
|
||||
|
|
Loading…
Reference in New Issue