-
Notifications
You must be signed in to change notification settings - Fork 63
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
feat(db): support Nitro useDatabase()
#15
Conversation
Deploying nuxthub-docs with
|
Latest commit: |
3e22c41
|
Status: | ✅ Deploy successful! |
Preview URL: | https://aac36010.nuxthub-module.pages.dev |
Branch Preview URL: | https://feat-nitro-db.nuxthub-module.pages.dev |
Any update on this? @atinux ? |
Actually I need to change it @cpreston321 to only enable it if After discussing with @pi0, NuxtHub should not set experimental feature on behalf of the user. |
I also agree. Since |
In the meantime I appreciate any feedback from direct db0 integration which can help to stabilize and discover any issues with it. |
Deploying playground with
|
Latest commit: |
725e8dd
|
Status: | ✅ Deploy successful! |
Preview URL: | https://a51952c2.playground-bhb.pages.dev |
Branch Preview URL: | https://feat-nitro-db.playground-bhb.pages.dev |
commit: |
Resolves #2
This will allow to use
useDatabase()
with no configuration 🚀Warning
useDatabase()
won't work in production if you deploy to another provider (ex: Vercel) withremote: true
as it is waiting for the D1 binding, usehubDatabase()
instead