question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nuxt js Suggestions not appear

See original GitHub issue
  • [ x] I have searched through existing issues
  • [ x] I have read through docs
  • [ x] I have read FAQ
  • [ x] I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: Linux
  • Vetur version: 0.31.3
  • VS Code version:1.52.0

Problem

concerning nuxt js, in vue component, press on CTRL+SPACE show the menu without any suggestions for nuxt properties like head function

I uninstalled vetur and reinstall it but still not working

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
yoyo930021commented, Dec 17, 2020

jsconfig.json is already created

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "~/*": ["./*"],
      "@/*": ["./*"],
      "~~/*": ["./*"],
      "@@/*": ["./*"]
    }
  },
  "exclude": ["node_modules", ".nuxt", "dist"]
}

Install @nuxt/types package. Add this in compilerOptions

  "types": [
      "@types/node",
      "@nuxt/types"
    ]
0reactions
engmagdy87commented, Dec 16, 2020

jsconfig.json is already created

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "~/*": ["./*"],
      "@/*": ["./*"],
      "~~/*": ["./*"],
      "@@/*": ["./*"]
    }
  },
  "exclude": ["node_modules", ".nuxt", "dist"]
}

Read more comments on GitHub >

github_iconTop Results From Across the Web

vue.js - Nuxt/Vuetify - v-autocomplete not displaying the v-menu
I can see the v-menu and the list in my array when I inspect element but it has a default style of display:...
Read more >
Installation - Nuxt
Here, you will find information on setting up and running a Nuxt project in 4 steps.
Read more >
Nuxt.js for Busy Developers - CODE Magazine
For example, in Nuxt.js, you don't write a configuration file for the ... By this time, the main Vue.js component is rendered and...
Read more >
How To Use Server-Side Rendering with Nuxt.js | DigitalOcean
js app, routes in Nuxt are not generated via a router file. Instead, they are generated from the pages directory. Each .vue file...
Read more >
Getting Started with Nuxt js as a Beginner - Vue School Blog
We'll also take a look at adding a 404 page for routes that are not found. Static routes can either be created by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found