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

managing reactive data and handling events #130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Gopikrishna500apps
Copy link

Changes Made:

  • Added a Vue 3 script setup block with TypeScript language support.

  • Imported ref from Vue to manage reactive data.

  • Declared a msg ref variable to store a message string.

  • Defined a changeMessage function to update the message string.

  • Implemented a simple template to display the message and a button to trigger the changeMessage function.

Copy link

netlify bot commented Apr 5, 2024

Deploy Preview for learn-nuxt-com ready!

Name Link
🔨 Latest commit 1c23dde
🔍 Latest deploy log https://app.netlify.com/sites/learn-nuxt-com/deploys/660ff0f09024080008d4fa8a
😎 Deploy Preview https://deploy-preview-130--learn-nuxt-com.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@antfu
Copy link
Member

antfu commented Apr 8, 2024

Can you explain more why this is needed? This is the base template and is supposed to be overridden by each lesson

@Gopikrishna500apps
Copy link
Author

Can you explain more why this is needed? This is the base template and is supposed to be overridden by each lesson

I thought the base template should include at least one reactive variable. That's why I wrote it that way, for everyone's understanding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants