Skip to content

Commit 31889a0

Browse files
committed
docs: update vite instructions (unovue#713)
If compiler options are only added to just tsconfig.json, module resolution fails for `@/lib/utils` during build. <!---☝️ PR title should follow conventional commits (https://conventionalcommits.org) --> ### 🔗 Linked issue <!-- Please ensure there is an open issue and mention its number as unovue#123 --> ### ❓ Type of change <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. --> - [ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations) - [ ] 🐞 Bug fix (a non-breaking change that fixes an issue) - [x] 👌 Enhancement (improving an existing functionality like performance) - [ ] ✨ New feature (a non-breaking change that adds functionality) - [ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries) - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to change) ### 📚 Description <!-- Describe your changes in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If it resolves an open issue, please link to the issue here. For example "Resolves unovue#1337" --> ### 📸 Screenshots (if appropriate) <!-- Add screenshots to help explain the change. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [x] I have linked an issue or discussion. - [ ] I have updated the documentation accordingly.
1 parent 12657da commit 31889a0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/www/src/lib/registry/default/ui/auto-form/AutoForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const props = defineProps<{
1717
}>()
1818
1919
const emits = defineEmits<{
20-
submit: [event: GenericObject]
20+
submit: [event: z.infer<T>]
2121
}>()
2222
2323
const { dependencies } = toRefs(props)

apps/www/src/lib/registry/new-york/ui/auto-form/AutoForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const props = defineProps<{
1717
}>()
1818
1919
const emits = defineEmits<{
20-
submit: [event: GenericObject]
20+
submit: [event: z.infer<T>]
2121
}>()
2222
2323
const { dependencies } = toRefs(props)

0 commit comments

Comments
 (0)