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

'Connect to your project' Nuxt and Vue framework example code issue #26742

Closed
2 tasks done
danryland opened this issue May 24, 2024 · 0 comments · Fixed by #26743
Closed
2 tasks done

'Connect to your project' Nuxt and Vue framework example code issue #26742

danryland opened this issue May 24, 2024 · 0 comments · Fixed by #26743
Labels
bug Something isn't working pr-opened A PR has been opened to resolve the issue

Comments

@danryland
Copy link
Contributor

danryland commented May 24, 2024

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

From the dashboard of an individual project, the Nuxt and Vue code examples have an undefined variable making the code example incorrect. It unhelpfully blends both 'todos' and 'countries'. It should stick to just using the 'todos' concept.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to the dashboard of your project (https://supabase.com/dashboard/project/[PROJECT_ID])
  2. Click on 'Connect'
  3. Click on 'App Frameworks' tab
  4. Select 'Nuxt' as Framework or 'Vue'
  5. Click 'src/App.vue' tab
  6. See code line countries.value = todos
  7. See that countries is never defined

Expected behavior

I would expect the code example to work out of the box without the need to adjust the variables.

Screenshots

Screenshot 2024-05-24 at 12 20 25

System information

  • OS: macOS
  • Browser: Brave

PR: #26743

@danryland danryland added the bug Something isn't working label May 24, 2024
@Hallidayo Hallidayo added the pr-opened A PR has been opened to resolve the issue label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pr-opened A PR has been opened to resolve the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants