Skip to content
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

fix(ui): Added composable to build config #579

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

ManUtopiK
Copy link
Sponsor Contributor

@ManUtopiK ManUtopiK commented Jan 13, 2024

We can't export detvools-ui-kit in external project without the composables. It throw this error when including the component NNotification :

 ERROR  Pre-transform error: Failed to resolve import "../composables/notification" from "../../node_modules/.pnpm/@nuxt+devtools-ui-kit@1.0.8_@nuxt+devtools@1.0.8_@vue+compiler-core@3.4.5_fuse.js@7.0.0_idb-k_hp7eiil6i4mqmffgl7noc2tkui/node_modules/@nuxt/devtools-ui-kit/dist/components/NNotification.vue". Does the file exist?

This pull request fix this issue.
It doesn't seem to have an impact to the devtools client...

@antfu antfu merged commit f3c3de1 into nuxt:main Jan 15, 2024
2 checks passed
@ManUtopiK ManUtopiK deleted the ui-kit/build-composable branch January 15, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants