fix(prettier): 格式化后,标签>跑到下一行BUG

This commit is contained in:
菲鸽 2024-03-25 15:25:47 +08:00
parent 4181ae8d23
commit 61ff5d1614
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ module.exports = {
semi: false, semi: false,
trailingComma: 'all', trailingComma: 'all',
endOfLine: 'auto', endOfLine: 'auto',
htmlWhitespaceSensitivity: 'ignore',
overrides: [ overrides: [
{ {
files: '*.json', files: '*.json',

View File

@ -17,7 +17,7 @@
</view> </view>
<view class="text-center text-4xl main-title-color mt-4">unibest</view> <view class="text-center text-4xl main-title-color mt-4">unibest</view>
<view class="text-center text-2xl mt-2 mb-8">最好用的 uniapp 开发模板</view> <view class="text-center text-2xl mt-2 mb-8">最好用的 uniapp 开发模板</view>
<view class="text-justify max-w-100 m-auto text-4 indent mb-2">{{ description }} </view> <view class="text-justify max-w-100 m-auto text-4 indent mb-2">{{ description }}</view>
<view class="mt-8 text-center"> <view class="mt-8 text-center">
<text class="text-green-400">在线文档</text> <text class="text-green-400">在线文档</text>
<!-- #ifndef H5 --> <!-- #ifndef H5 -->