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

215
Views
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 answers
Answer question

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