Compatibility Issue on Nuxt 3
See original GitHub issueHi there,
I’m having troubles using the latest version of the vueuse/motion with nuxt 3 when I follow the the Doc about Nuxt Usage.
If you pass the:
'@vueuse/motion/nuxt'
The error returned is about: Cannot start nuxt: Package subpath ‘./nuxt’ is not defined by “exports” in…
I tried a few thing, but not solve my problem: I tried to change the version of beta.12 to beta.23 and I removed too the /nuxt on nuxt.config.ts. The error changed, but still there.
Nuxt 3.0.0-rc.13 @vueuse/motion": "^2.0.0-beta.12
Does have someone with the same problem and found a solution?
Issue Analytics
- State:
- Created 10 months ago
- Reactions:7
- Comments:8 (2 by maintainers)
Top Results From Across the Web
[Docs] Nuxt 3 Compatibility · Issue #11043 · element-plus/ ...
The first dropdown displays a list fetched from an endpoint. The user selects an item, it triggers another fetch request to another endpoint....
Read more >Nuxtjs v3 and Tailwindcss v3 PostCSS@8 not compatible
I had this problem too, as Nuxt 3 requires a different way to integrate Tailwind. The following is to install Tailwind as a...
Read more >Modules - Migrate to Nuxt 3
But there are usually steps to follow to make modules compatible with Nuxt 3 and sometimes, using Nuxt Bridge is required for cross-version...
Read more >Installation
Here, you will find information on setting up and running a Nuxt project in 4 ... and compatible dependencies of your packages installed...
Read more >5 Awesome Modules to use in your Nuxt Project
Twicpics module for Nuxt is currently compatible with Nuxt 2 and Nuxt 3 but not compatible with Nuxt 2 + Bridge.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems like there was an unannounced release of
beta-25
that you can use now!"@vueuse/motion": "2.0.0-beta.25",
Works fine with nuxt 3.0. 🚀✨
Problem might be in the deprecated
addAutoImportDir
function used in the nuxt module, it should be replaced withaddImportsDir
.Also the
publicRuntimeConfig
option used in the module is no longer present in nuxt 3, as it was replaced withruntimeConfig.public
.I’ve made a patch to fix the compatibility of @vueuse/motion beta.24 with nuxt 3.0.0 stable release, you can find it here and apply it with yarn patch-package.