B
B
bormor2020-05-25 15:36:06
webpack
bormor, 2020-05-25 15:36:06

Vue cli: how to enable Vue Dev Tools in production (in /build folder after compilation)?

We need to debug a bug in a legacy project.
To do this, you need to temporarily enable support for vue devtools after the yarn build command.

Probably for this you need to enable sourcemap support on the prod and off. js file minification. Maybe something else to set up.

How can I do that?
How to google the docs on this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-05-25
@bormor

vue-cli-service build --mode development
Well:

configureWebpack: {
    devtool: 'source-map'
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question