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

509
Views
Vue3 + Typescript - Advertencia de Vue: al componente le falta la plantilla o la función de representación

Vi que este tema tiene muchas preguntas, pero realmente no encontré ninguna respuesta útil para mi caso.

Estoy importando 3 componentes en mi archivo App.vue. 2 de 3 funcionan bien, pero "FrequencyBox.vue" recibe la siguiente advertencia y no se procesa en absoluto:

 [Vue warn]: Component is missing template or render function. at <FrequencyBox> at <App>"

Componente de la aplicación:

 <template> <h1>Sono App.vue</h1> <Header /> <FrequencyBox /> <Footer /> </template> <script lang="ts"> import { defineComponent } from "vue"; import Header from "./components/Header.vue"; import FrequencyBox from "./components/FrequencyBox.vue"; import Footer from "./components/Footer.vue"; export default defineComponent({ name: "App", components: { Header, FrequencyBox, Footer, }, }); </script> <style> #app { font-family: Avenir, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; color: #2c3e50; margin-top: 60px; } </style>

Componente de caja de frecuencia:

 <template> <h1>Sono la Frequency Box</h1> </template> <script lang="ts"> import { defineComponent } from "vue"; export default defineComponent({ name: "FrequencyBox", }); </script> <style></style>

¿Algunas ideas?

about 4 years ago · Juan Pablo Isaza
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!