refactor: refactor InputGroup component by latest farris vue component style guide

This commit is contained in:
Sagi 2022-09-15 20:51:58 +08:00
parent f2fe699f1e
commit 8298f7e64f
3 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,9 @@
import { defineComponent, computed } from 'vue'; import { defineComponent, computed } from 'vue';
import type { SetupContext } from 'vue'; import type { SetupContext } from 'vue';
import { InputGroupProps, inputGroupProps } from './input-group.props'; import { InputGroupProps, inputGroupProps } from './input-group.props';
import { useAppendButton } from './composables/use-append-button'; import { useAppendButton } from './composition/use-append-button';
import { useClear } from './composables/use-clear'; import { useClear } from './composition/use-clear';
import { useTextBox } from './composables/use-text-box'; import { useTextBox } from './composition/use-text-box';
export default defineComponent({ export default defineComponent({
name: 'FInputGroup', name: 'FInputGroup',

View File

@ -1,8 +1,8 @@
import { defineConfig } from 'vite' import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue';
import vueJsx from '@vitejs/plugin-vue-jsx' import vueJsx from '@vitejs/plugin-vue-jsx';
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [vue(),vueJsx()] plugins: [vue(), vueJsx()]
}) });