Results 116 comments of lishaobos

请问最新版本是否解决了你的问题

hi, you can use https://cdn.skypack.dev/ instead of https://esm.sh

Did you installed dependencies?

😂😂😂, for my test, vscode plugin only work with uno/unocss.config

or you can use import('uno.css') instead of import, DOMContentLoaded is work.

that is a good question. if use auto-import,eslint-plugin-vue cannot identify toRefs from vue, so 'vue/no-unused-properties' is report error.

> 感谢大佬的开源项目❤️ > > 希望模式可以支持[blurhash](https://github.com/woltapp/blurhash/tree/master/TypeScript),一行hash可以解码成缩略图 我没有具体使用过这个,你可以简单说下你的想法吗, 比如说加入一个 magic=blurhash,然后占位图片以 blurhash 生成的效果展示? ```js // 这种是可行的吗 import img from './a.png?magic=blurhash' ```

> 是这个意思,这样缩略图只需要在客户端将hash解码就能展示 我自己尝试的时候的参考:https://gist.github.com/ngbrown/d62eb518753378eb0a9bf02bb4723235 嗯,我看了下,在客户端解码,然后 canvas 渲染我觉得是很慢的,尤其一些 ssr 项目,可能会慢几瞬间,我觉得有一种思路比较适合:构建过程中解码,然后转为 base64 占位图,这样我们生产中几乎瞬间可以看到。

这个 blurhash 可以根据指定 hash,或者根据图片自动生成