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

116
Views
Create vite plugin for converter specific file into vue component

I am using Vite + Vue, and i want to build vue components from others file, for example, i have file diff_component.vue.my_ext:

<h1>Vue Component From other file</h1>

And i have Component.vue:

<template>
<div>
  <diff_component/>
</div>
</template>
<script>
import DiffComponent from "./diff_component.vue.my_ext"
export default {
  components: {
    DiffComponent
  }
}
</script>

I need to convert my diff_component.vue.my_ext into vue component, and get something like this:

<template>
  <h1>Vue Component From other file</h1>
</template>
<script>
  export default {}
</script>

How can i do it? Give me pls link to docs or examples pls.

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!