mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
Cleanup: Potpourri PR of small changes that reduce the warning noise (#5128)
* fix: [@vue/compiler-sfc] defineModel is a compiler macro and no longer needs to be imported. * fix: Duplicate name conflict/warning from unplugin-vue-components * fix: enforce correct line endings for the commonjs and esm variants via git
This commit is contained in:
6
.gitattributes
vendored
6
.gitattributes
vendored
@@ -2,9 +2,13 @@
|
|||||||
* text=auto
|
* text=auto
|
||||||
|
|
||||||
# Force TS to LF to make the unixy scripts not break on Windows
|
# Force TS to LF to make the unixy scripts not break on Windows
|
||||||
|
*.cjs text eol=lf
|
||||||
|
*.js text eol=lf
|
||||||
|
*.json text eol=lf
|
||||||
|
*.mjs text eol=lf
|
||||||
|
*.mts text eol=lf
|
||||||
*.ts text eol=lf
|
*.ts text eol=lf
|
||||||
*.vue text eol=lf
|
*.vue text eol=lf
|
||||||
*.js text eol=lf
|
|
||||||
|
|
||||||
# Generated files
|
# Generated files
|
||||||
src/types/comfyRegistryTypes.ts linguist-generated=true
|
src/types/comfyRegistryTypes.ts linguist-generated=true
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import InputText from 'primevue/inputtext'
|
import InputText from 'primevue/inputtext'
|
||||||
import { computed, defineModel } from 'vue'
|
import { computed } from 'vue'
|
||||||
|
|
||||||
const { placeHolder, hasBorder = false } = defineProps<{
|
const { placeHolder, hasBorder = false } = defineProps<{
|
||||||
placeHolder?: string
|
placeHolder?: string
|
||||||
|
|||||||
@@ -136,7 +136,8 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
dirs: ['src/components', 'src/layout', 'src/views'],
|
dirs: ['src/components', 'src/layout', 'src/views'],
|
||||||
deep: true,
|
deep: true,
|
||||||
extensions: ['vue']
|
extensions: ['vue'],
|
||||||
|
directoryAsNamespace: true
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user