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
Prettier 3.2.5 Playground link
Input:
<!-- error: use vue2 filter syntax with | --> <!-- the breakline between "{ will case the vue-loader error --> <h1 :data-exposureval="{ module_id: 'recommend_service1', banner_id: 'bb132445', name: 'test', mmsurl: 'https://baidu.com', jumpurl: 'https://qq.com', docid: 'aa134154', title: 'test json', abtestid: 'adfasdf', abverid: '12341', } | jsonStringify" > {{ msg }} </h1>
Output:
<!-- error: use vue2 filter syntax with | --> <!-- the breakline between "{ will case the vue-loader error --> <h1 :data-exposureval=" { module_id: 'recommend_service1', banner_id: 'bb132445', name: 'test', mmsurl: 'https://baidu.com', jumpurl: 'https://qq.com', docid: 'aa134154', title: 'test json', abtestid: 'adfasdf', abverid: '12341', } | jsonStringify " > {{ msg }} </h1>
Expected output:
Why? Cause vue-loader to report an error:
The text was updated successfully, but these errors were encountered:
@lfire Are there any related issues etc. on the Vue side?
Sorry, something went wrong.
No, not found yet
No branches or pull requests
Prettier 3.2.5
Playground link
Input:
Output:
Expected output:
Why?
Cause vue-loader to report an error:
The text was updated successfully, but these errors were encountered: