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

507
Views
Vue3 + Typescript - Vue warn: Component is missing template or render function

I saw this topic has a lot of questions, but I really didn't find any useful answer for my case.

I'm importing 3 components in my App.vue file. 2 out of 3 are working fine, but "FrequencyBox.vue" get the following warning and doesn't render at all:

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

App Component:

<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>

FrequencyBox component:

<template>
  <h1>Sono la Frequency Box</h1>
</template>

<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
  name: "FrequencyBox",
});
</script>

<style></style>

Any 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!