We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
$ yarn create nuxt-app your-app-name
add this to index.vue
<template> <div> Text </div> </template> <script lang="ts"> console.log("Start!!"); export default defineComponent({ mounted() { console.log("Mounted!!"); }, }) </script>
$ yarn dev
I was testing my 1 year old project, and noticed the inside of defineComponent are not triggered at all.
defineComponent
I created a new blank page as shown above. There is "Start!!" on console, but no "Mounted!!".
Same for the new project I created.
Console shows this error: Failed to load resource: the server responded with a status of 504 (Outdated Optimize Dep)
Failed to load resource: the server responded with a status of 504 (Outdated Optimize Dep)
I tried:
rm -r node_modules rm -r yarn.lock yarn install
No response
The text was updated successfully, but these errors were encountered:
Works fine for me. Be aware that mounted runs only on the client-side, so you will see the logs in browser only.
mounted
Sorry, something went wrong.
No branches or pull requests
Environment
Reproduction
$ yarn create nuxt-app your-app-name
add this to index.vue
$ yarn dev
Describe the bug
I was testing my 1 year old project, and noticed the inside of
defineComponent
are not triggered at all.I created a new blank page as shown above.
There is "Start!!" on console, but no "Mounted!!".
Same for the new project I created.
Console shows this error:
Failed to load resource: the server responded with a status of 504 (Outdated Optimize Dep)
Additional context
I tried:
rm -r node_modules
rm -r yarn.lock
yarn install
Logs
No response
The text was updated successfully, but these errors were encountered: