Vue: Vue template compiler/loader should generate source maps for template blocks

Created on 5 Mar 2019  路  2Comments  路  Source: vuejs/vue

What problem does this feature solve?

Vue should be able to generate source maps for <template> blocks. We can enable source maps today, but when an error occurs in a template, it's not entirely helpful:

image

There should be a way to enable source maps via vue.config.js that would signal the template compiler to generate source maps (if possible?) in raw markup.

Most helpful comment

This is something we are working on for v3.

All 2 comments

You can create a feature request if it doesn't exist already in vue-loader repo

This is something we are working on for v3.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

franciscolourenco picture franciscolourenco  路  3Comments

paceband picture paceband  路  3Comments

bdedardel picture bdedardel  路  3Comments

hiendv picture hiendv  路  3Comments

julianxhokaxhiu picture julianxhokaxhiu  路  3Comments