WebStorm开发微信小程序:解决在wxss中格式化rpx前会多出一个空格的问题
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                WebStorm开发微信小程序:解决在wxss中格式化rpx前会多出一个空格的问题
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                開發環境
- Windows 10
軟件工具
- sed
 下載地址:https://github.com/mbuilov/sed-windows
配置Webstorm
1、需要利用文件監聽: preference->Tools->File Watchers
 2、點擊下方 + 號,新增一個文件監聽
 3、
 name: 自定義即可
 File type: 選擇 Cascading Style Sheet
 Program: 寫上sed.exe全路徑
 Arguments:-i s/"\ rpx"/rpx/g FilePathFilePathFilePath
 Output paths to refresh: FilePathFilePathFilePath
參考文檔:https://course.7yue.pro/lin/sleeve/5%20webstorm開發小程序常用設置.html#常用設置
總結
以上是生活随笔為你收集整理的WebStorm开发微信小程序:解决在wxss中格式化rpx前会多出一个空格的问题的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 「原创」铁丝网上的小花象征着什么
- 下一篇: Centos安装、配置nginx
