-
Notifications
You must be signed in to change notification settings - Fork 980
fix: add missing useAppConfig export for non-auto-import users #5658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v4
Are you sure you want to change the base?
Conversation
commit: |
benjamincanac
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should expose useAppConfig from @nuxt/ui export, we should instead add "./vue/composables" and "./vue/composables/*" exports inside package.json.
I tried that initially but it wasn't exported properly during my local testing... I'll try again, probably I made a mistake somewhere. |
|
I'm not even sure this export is needed actually, you should be able to import it like this: |
|
Your screenshot made me realize the changes I just made in #5213 will break this import π¬ |
|
@KazimirPodolski Do you have an error when importing from |
|
In Webstorm - no, in runtime - gonna check later today, I have some heavy changes ongoing. |

π Linked issue
β Type of change
π Description
Re-exports
useAppConfigfor those of us who is not fond of auto-import magic.π Checklist