Importing directly from module entry-points is not allowed & making @radix-vue/nuxt package #1128
alexisdechiara
started this conversation in
General
Replies: 1 comment
-
Hey @alexisdechiara !! Thanks for bringing this up. I'll check whether Nuxt module allow custom 'module name' when installing via |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, for a few days now I've been getting the error
Importing directly from module entry-points is not allowed
when launching my project under Nuxt and I didn't see any fix on the web until I went on Discord where someone named Zusor solved the same problem I was having.If you install the package with the Nuxt installer
nuxt module add radix-vue
then the whole package will be added to Nuxt.config, but in the documentation you have to putradix-vue/nuxt
in the modules and notradix-vue
. So you'll understand that to solve the problem you just need to add "/nuxt" and it's fixed, but on the Nuxt module page of radix-vue it's not specified to make this change, which can lead people like Zusor and me to misunderstand.For this reason, it would be preferable to have a `@radix-vue/nuxt' package separately so that the error no longer occurs when installing via the Nuxt installer and other package manager. In addition, it would be interesting to modify the Nuxt module page so that it is identical to the one in the doc.
Beta Was this translation helpful? Give feedback.
All reactions