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
现在监听了所有 Less 文件变动, 但是当组件 Less 变动时, 只是重新编译了组件的 Less 文件 => WXSS 文件. 而页面引用的对应组件, 还是缓存里的文件, 所以导致页面的 WXSS 未更新.
比如 Page A.less 引用组件 b.less, 当组件 b.less 变动时, 只是编译了 b.less => b.wxss. 而 A.less 引用的组件 b, 还是缓存里的文件(即包含旧内容), 所以导致 A.wxss 没有得到修改后的内容.
引申的问题:
pages/home/index.less
推荐解决方案:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
现在监听了所有 Less 文件变动, 但是当组件 Less 变动时, 只是重新编译了组件的 Less 文件 => WXSS 文件. 而页面引用的对应组件, 还是缓存里的文件, 所以导致页面的 WXSS 未更新.
比如 Page A.less 引用组件 b.less, 当组件 b.less 变动时, 只是编译了 b.less => b.wxss. 而 A.less 引用的组件 b, 还是缓存里的文件(即包含旧内容), 所以导致 A.wxss 没有得到修改后的内容.
引申的问题:
pages/home/index.less
) 作为打包入口即可.推荐解决方案:
The text was updated successfully, but these errors were encountered: