I can't figure any combination of options that will make this work with vue-loader.
What happens is that the <script> of a Vue component is instrumented just fine (it is outputted by vue-loader as a separate file, then babel-loader catches it, but not any expressions in a <template>.
The output "files" for template end with extensions like .vue?vue&type=template&id=qufnai32n or similar.
I can't figure any combination of options that will make this work with vue-loader.
What happens is that the
<script>
of a Vue component is instrumented just fine (it is outputted by vue-loader as a separate file, then babel-loader catches it, but not any expressions in a<template>
.The output "files" for template end with extensions like
.vue?vue&type=template&id=qufnai32n
or similar.This is what my config looks like:
I also tried changing
to
but that still didn't manage to get vue
<template>
s instrumented.Any ideas?