We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As soon as @vue/cli-service version 4 gets used it does somehow not indent anymore. So be clear. Instead of it looking like this:
@vue/cli-service
{ "key1": "value1", "key2": "value2" }
it looks like this:
The problem seems to be that in the span elements with the class json-tree-indent the content ( ) is missing for some reason.
span
json-tree-indent
Guess the author probably knows what causes the problem if he reads the breaking changes which can be found here: https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md
The text was updated successfully, but these errors were encountered:
Just hit the same issue & found this work-around: vuejs/vue#10485 (comment) hope it helps.
The underlying issue looks like its a bug in the Vue template compiler itself: vuejs/vue#11059
Sorry, something went wrong.
Try changing your vue.config.js file into this:
module.exports = { chainWebpack: config => { config.module .rule('vue') .use('vue-loader') .tap(args => { args.compilerOptions.whitespace = 'preserve' }) } }
Problem being in version 4 it does not preserve the whitespaces.
Hi guys, does this package work well with Vue 3.x now?
No branches or pull requests
As soon as
@vue/cli-service
version 4 gets used it does somehow not indent anymore. So be clear. Instead of it looking like this:it looks like this:
The problem seems to be that in the
span
elements with the classjson-tree-indent
the content (
) is missing for some reason.Guess the author probably knows what causes the problem if he reads the breaking changes which can be found here:
https://github.com/vuejs/vue-cli/blob/dev/CHANGELOG.md
The text was updated successfully, but these errors were encountered: