Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

692
Views
TypeError: _this.$content no es una función - Nuxt.js Content

Estoy tratando de usar Nuxt.js Content en mi proyecto. El problema es que cuando intento usar el método $content en mi proyecto TypeError: _this.$content is not a function :

 async fetch() { this.content = await this.$content('data').fetch() },

@nuxt/content en la configuración de Nuxt y en la configuración de mecanografiado.

nuxt.config.js

 export default { modules: ['@nuxt/content'] }

tsconfig.json

 { "compilerOptions": { "types": ["@nuxt/types", "@types/node", "@nuxt/content"] } }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Nuxt content v2 necesita Nuxt3. Si está usando Nuxt2, debe usar la versión v1.

Como se indica al final de esta página: https://content.nuxtjs.org/get-started#render-pages

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!