title: How to import prime component direct to *.vue file instead of importing it to main *.js file in Vue?
body: <p>my apiCall.vue file is as below and I wanted to add directly prime component here instead of loading it from index.js file. I wanted to remove component from js file and wanted to use directly into vue file. is it possible?</p>
  
  <pre><code> &lt;template&gt;
  &lt;DataTable :value="cars"&gt;
      &lt;Column field="vin" header="Vin"&gt;&lt;/Column&gt;
      &lt;Column field="year" header="Year"&gt;&lt;/Column&gt;
  &lt;/DataTable&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  
  export default {
    name: 'ApiCall',
    data() {
          return {
              columns: null,
              cars: null
          }
    },
    mounted() {
           this.columns = [
              {field: 'vin', header: 'Vin'},
              {field: 'year', header: 'Year'},
              {field: 'brand', header: 'Brand'},
              {field: 'color', header: 'Color'}
          ];
          this.cars =[
          {vin:'dsad231ff',year:'2012',brand:'Volkswagen',color:'Orange'},
          {vin:'dsad231ff',year:'2012',brand:'Volkswagen',color:'Orange'},
          {vin:'dsad231ff',year:'2012',brand:'Volkswagen',color:'Orange'},
          {vin:'j6w54qgh',year:'2009',brand:'BMW',color:'Blue'}
          ];
       }
  }
  &lt;/script&gt;
  
  &lt;style&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>and my index.js file is al below: </p>
  
  <pre><code>import Vue from 'vue'
  import VueRouter from 'vue-router'
  import DataTable from 'primevue/datatable';
  import Column from 'primevue/column';
  
  Vue.use(VueRouter)
  Vue.component('DataTable', DataTable);
  Vue.component('Column', Column);
  
  function lazyLoad(view){
    return() =&gt; import(`@/views/${view}.vue`)
  }
  const routes = [
    {
        path: '/apiCall',
        name: 'ApiCall',
        component: lazyLoad('ApiCall')
    }
  ]
  
  const router = new VueRouter({
    mode: 'history',
    base: process.env.BASE_URL,
    routes
  })
  
  export default router
  </code></pre>
  
  <p>I am new to Vue.</p>