Closed bmulholland closed 1 year ago
The Axios module is not yet compatible with Nuxt3, the first thing that happens when you start it is an axios error. They cant compiling it.
Thanks for looking into it!
Any update on it?
No I don't think so, and as long as the Axios module is not compatible, the Auth module will not be compatible either.
@Intevel i put a pull request for the axios module for nuxt 3, so waiting for that.
@Intevel i put a pull request for the axios module for nuxt 3, so waiting for that.
Hello, is auth module working with ur pr? thank you for axios module yet auth module not working. Would you mind put a temporarily jwt auth project with your nuxt-module while waiting this project to work with nuxt3? T_T
@Intevel i put a pull request for the axios module for nuxt 3, so waiting for that.
Hello, is auth module working with ur pr? thank you for axios module yet auth module not working. Would you mind put a temporarily jwt auth project with your nuxt-module while waiting this project to work with nuxt3? T_T
Unfortunately the auth module does not work with the PR as there's changes needed to be made to the auth module itself. Axios works with the pr but would need to do extra work with the auth module.
Yes of course. But still, the Axios module has to work before we can work on the Auth Module for Nuxt 3. I will take a look at your PR. @Teranode
Axios module works for me with {proxyHeaders: false}
. It's just a little buggy.
@kazigk What seems to be the issues you are having?
currently have a nuxt-auth project which only works on my local machine, but when deployed on live server it doesn't work
I made a module directory for nuxt-community plugins I utilize for nuxt 3. You can use these until the current modules are updated: https://github.com/Teranode/nuxt-module-alternatives
I made a module directory for nuxt-community plugins I utilize for nuxt 3. You can use these until the current modules are
I am confused?!
nuxt-module-alternatives Alternative modules to use while waiting for Nuxt 3 Compatibility
Current Modules
Nuxt Axios Module: Nuxt Community Repository Nuxt Proxy Module: Nuxt Community Repository Nuxt Auth Module: Nuxt Community Repository Nuxt Google Fonts Module: Nuxt Community Repository VueJS/Nuxt Pinia: VueJS/Nuxt Pinia Repository Nuxt Element Plus: ? Nuxt Vuex: ?
The Nuxt Auth Module: Nuxt Community Repository links exactly to this repository, which does not work with Nuxt3
@VidarDev
the links are references to the repositories of the modules im currently modifying. The @nuxtjs folder contains the auth module, look at the readme.
@Teranode
nvm my bad >.< now i check it ^^ good job and thanks for that
Was trying to use auth module with a fresh Nuxt 3 install:
[vite] Internal server error: Failed to resolve import "./middleware" from ".nuxt\auth.js". Does the file exist?
Plugin: vite:import-analysis
Vite does not love this line: https://github.com/nuxt-community/auth-module/blob/c9880dc28fa13ba036f078d37ff76e1267c65d21/templates/plugin.js#L1
nuxt 3 uses $fetch, why not make autn on fetch???
any update?
Nuxt 3 support is coming as part of a broader re-write, and you can track that status at https://v3.nuxtjs.org/community/roadmap/#-core-modules
Is there an estimated timeframe? It just says "planned". In the meantime, what is the suggestion to use either instead or as a workaround?
Is this it?
Closing this issue, as the current module will not work with Nuxt 3. You can track the timeline for Nuxt 3 support at https://nuxt.com/docs/community/roadmap/#-core-modules. That's the latest information I have.
This also seems a good alternative for Nuxt 3: https://sidebase.io/nuxt-auth/getting-started . It is based on a popular auth library for Next.js.
make a new project with nuxt 3 and set up nuxt auth. https://v3.nuxtjs.org/
Then report back on if it works