Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

223
Vistas
How can Javascript understand Vue file?

I've just started to learn Vue and I wonder, how is it made? I see in the begining of main.js

import Vue from 'vue'
import App from './App.vue'

and the content of App.vue is not Javascript at all. How is it made to be understandable by Javascript?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

When using .vue files in a Vue application, it is necessary to use the vue-loader dependency. This library is a loader for webpack that allows you to create Vue components in a Single-File Components format.

Documentation:

There are many cool features provided by vue-loader:

  • Allows using other webpack loaders for each part of a Vue component, for example Sass for and Pug for .
  • Allows custom blocks in a .vue file that can have custom loader chains applied to them.
  • Treat static assets referenced in and as module dependencies and handle them with webpack loaders.
  • Simulate scoped CSS for each component.
  • State-preserving hot-reloading during development.
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda